Stack Tables Create Table Of Elves – Create table called elves CREATE TABLE elves ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255), – string variable weapon varchar(255) ) Create Table Of Dwarves – Create table called dwarves CREATE TABLE dwarves ( – string variable name varchar(255), – …
Self Join Table Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable child_of varchar(255) ) Insert Rows Into Adventurers Table INSERT INTO adventurers (name, age, child_of) VALUES (‘Dallar Woodfoot’, 25, NULL), (‘Cordin Garner’, 29, NULL), (‘Keat Garner’, 24, …
Right Join Tables Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Adventurer’s Equipment – Create table called equipment CREATE TABLE equipment ( – string variable name varchar(255), – string variable clothes …
Outer Join Tables Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Adventurer’s Equipment – Create table called equipment CREATE TABLE equipment ( – string variable name varchar(255), – string variable clothes …
Left Join Tables Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Adventurer’s Equipment – Create table called equipment CREATE TABLE equipment ( – string variable name varchar(255), – string variable clothes …
Join Multiple Table Create Table Of Elves – Create table called elves CREATE TABLE elves ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Weapons – Create table called weapons CREATE TABLE weapons ( – string variable name varchar(255), – string variable weapon varchar(255), …
Inner Join Tables Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Adventurer’s Equipment – Create table called equipment CREATE TABLE equipment ( – string variable name varchar(255), – string variable clothes …
Concatenate Multiple Table Create Table Of Elves – Create table called elves CREATE TABLE elves ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255), – string variable weapon varchar(255) ) Create Table Of Dwarves – Create table called dwarves CREATE TABLE dwarves ( – string variable name varchar(255), …
Cartesian Product Of Tables Create Table Of Adventurers – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255) ) Create Table Of Adventurer’s Equipment – Create table called equipment CREATE TABLE equipment ( – string variable name varchar(255), – string variable …
All Unique Values In Two Tables Create Table Of Elves – Create table called elves CREATE TABLE elves ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255), – string variable weapon varchar(255) ) Create Table Of Dwarves – Create table called dwarves CREATE TABLE dwarves ( – string …
Update Rows Based On Another Table Create Table Of Elves – Create table called elves CREATE TABLE elves ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255), – string variable alive varchar(255) ) Create Table Of Deaths – Create table called deaths CREATE TABLE deaths ( – string …
Insert Rows Create Table – Create table called adventurers CREATE TABLE adventurers ( – string variable name varchar(255), – integer variable age int, – string variable race varchar(255), – string variable weapon varchar(255) ) Insert Row – Insert row into the table adventurers INSERT INTO adventurers (name, age, race, weapon) VALUES (‘Fjoak Doom-Wife’, 28, ‘Human’, …