


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
About constructor in java program It has basics of it
Typology: Schemes and Mind Maps
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Create table Student(ID int,Name varchar(50),City varchar(50),Phone_No int,Marks int);
Student
ID Name City Phone_No Marks
empty
Insert Into Student(ID,Name,City,Phone_No,Marks)values (' 229 ','Pooja','Mumbai',' 7770473645 ',' 89 '), ('222','Roshni','Pune',' 7384362523 ','5 6 '), ('232','Sohan','Bengaluru',' 9990798232 ','6 8 '), ('242','Anmol','Delhi',' 8327487283 ','7 9 '), ('252','Taniya','Hyderabad',' 9990798293 ','4 6 '), ('262','Jay','Ahmedabad',' 7746328744 ','2 6 '), ('272','Anjali','Chennai',' 8820948290 ','9 2 '), ('282','Surveen','Kolkata',' 9328479834 ',' 29 ');
Output:
Student
ID Name City Phone_No Marks
229 Pooja Mumbai 7770473645 89
222 Roshni Pune 7384362523 56
232 Sohan Bengaluru 9990798232 68
242 Anmol Delhi 8327487283 79
252 Taniya Hyderabad 9990798293 46
262 Jay Ahmedabad 7746328744 26
272 Anjali Chennai 8820948290 92
282 Surveen Kolkata 9328479834 29
Query:
Output:
ID Name City Phone_No Marks
229 Pooja Mumbai 7770473645 89
Query:
Output:
Student
ID Name City Phone_No Marks
229 Pooja Mumbai 7770473645 89
222 Roshni Pune 7384362523 57
232 Sohan Bengaluru 9990798232 68
242 Anmol Delhi 8327487283 79
252 Taniya Hyderabad 9990798293 46
272 Anjali Chennai 8820948290 92