consider the following "student" table and write the queries
║≈≈≈≈≈≈║≈≈≈≈≈≈║≈≈≈≈≈≈≈║≈≈≈≈≈≈≈║
║roll no ║name ║marks 1 ║marks 2 ║
║1 ║raj ║54 ║66 ║
║2 ║ram ║44 ║77 ║
║3 ║roshni ║77 ║79 ║
║4 ║rohan ║23 ║98 ║
║≈≈≈≈≈≈║≈≈≈≈≈≈║≈≈≈≈≈≈≈║≈≈≈≈≈≈≈║
1. to create the given table.
2. to display only name and marks 1 from table.
3. to insert one more row (5,"resham",55,76).
4. to delete the record of those student who are having marks 1 less than 30.
5. to update the maeks 1 and 49 of those student who secured marks less than 30.
*please answer*
Answers
Answered by
0
Answer:
- create table student (roll no. integer ,name varchar(20),marks1 integer,marks2 integer)
- select name, marks from student
- insert into table name (field 1,field 2...field n)values(value1 value2..value n) [you haven't specified what to insert]
- delete from student where marks 1 < 30
- i didn't understand the question written as there is a syntax error
Explanation:
[the words which are underlined should be typed in capital]
Similar questions
History,
29 days ago
World Languages,
29 days ago
Math,
29 days ago
Math,
1 month ago
Psychology,
1 month ago
English,
9 months ago
Math,
9 months ago
English,
9 months ago