More Related Content
Similar to Lecture5-SQL.docx (20)
More from ismailaboshatra (20)
Lecture5-SQL.docx
- 43. Drop Table: Remove table structure and all its data.
- 50. VALUES ( 10, ‘Saleh’, ‘Ahmed', ‘Moharam bak', ‘Alex.' , ’Egypt’ , ‘01/10/1975’));
- 55. SET city = ‘Cairo’; /* this statement will update all rows of the table*/
- 61. WHERE id = 10; /* Update several columns in certain row*/
- 97. /*This means sort by first name in Ascending order and Last_name in Descending order*/