SQL Syntaxes To Display Table distribute * From mickle InsertInto Insert Into wad( physique,metropolis,Sex) Values(Aliza,Sevilia,Male) Delete Delete From tribe Where City=Sevilia Display pellucid Values subscribe to Distinct City From tidy sum Update Update tribe Set mature=24 Where rearing=Inter And Sex=Male Where Select * From People Where Name=Mia In Select * From Aliza Where Age In(24,19,25) And Select * From People Where Name=Kashif and City=London Or Select * From People Where Name=Kashif Or City=Rome Order By Select Distinct City From People Order By City Asc/Desc Top Select Top 2 From People Like Select * From People Where Name=%s / s% / %as% In Select * From People Where Age In(24,19,25) Between Select * From People Where Education Between Inter And Mba Alias Column: Select Name As N From People Table: Select Name From People As P Inner,Left,Right,Full plug into take up People.Name, People.City, Pagal.Order_Number FROM People INNER JOIN Pagal ON People.P_Id=Pagal.P_Id edict BY People.Name Cross Join Select * From People Cross Join Pagal Index Create Index Pindex On Aliza(Education) BackUp Same database: Select * Into People_Backup From People smart database: Select * Into People_Backup In Alin.

mdb From People cutpurse Drop Database Elin Drop Table People Drop Index People.PIndex Truncate Truncate Table People Alter Add Column: transform TABLE People ADD DateOfBirth date Datatype: ALTER TABLE People ALTER COLUMN DateOfBirth varchar(20) Drop Columns: ALTER TABLE People DROP COLUMN DateOfBirth Average SELECT AVG(OrderPrice) AS OrderAverage FROM Orders Group By SELECT guest,OrderDate,SUM(OrderPrice) FROM Orders GROUP BY Customer,OrderDate Having SELECT Customer,SUM(OrderPrice) FROM Orders GROUP BY Customer HAVING SUM(OrderPrice)<2000 SQL Aggregate Functions SQL aggregate functions return a single value, measured from values in a column. Useful aggregate functions: * AVG() -... If you desire to get a full essay, order it on our website:
OrderessayIf you want to get a full essay, wisit our page:
write my essay .
No comments:
Post a Comment