Module 1
Module 1
SELECT column1, column2, ... FROM SELECT statement is used to fetch data
SELECT SELECT city FROM placeofinterest;
table_name; from a database.
SELECT column1, column2, ...FROM WHERE clause is used to extract only those
WHERE SELECT * FROM placeofinterest WHERE city = 'Rome' ;
table_name WHERE condition; records that fulfill a specified condition.
INSERT INTO table_name INSERT is used to insert new rows in the INSERT INTO placeofinterest
INSERT (column1,column2,column3...) (name,type,city,country,airport) VALUES('Niagara
VALUES(value1,value2,value3...); table. Waterfalls','Nature','Toronto','Canada','Pearson');
UPDATE table_name SET[[column1]=[VALUES]] UPDATE used to update the rows in the UPDATE placeofinterest SET name = 'Niagara Falls'
UPDATE WHERE [condition]; table. WHERE name = "Niagara Waterfalls";
Author(s)
Malika Singla
about:blank 1/1