Category: SQL
-
sql (day 3)
Retrive: It retrive all data. eg:select * from students; Column name: It shows only contain in particular column by the column name. eg:select name from students; It shows only contain in particular column by the column name(two or more column). eg:select name,course from students; To get only particular name: eg:select * from students where course…
-
sql (day2)
create database: example: create database students; Rename database: example: alter database “students” rename to “school”; Create database using primary key: given name for id – column name. serial – should be integer, it takes contiguous number at continuous manner. primary key – don’t repeat not null – compulsory to fill data. Moreover defaultely takes not…