Computer Science, asked by Anonymous, 2 months ago

REFER THE ABOVE ATTACHMENT AND ANSWER..!

Any expert in I.T .!!?

please help..!!​

Attachments:

Anonymous: sahi hai!
SwankeyGirl4567: bilkul bhi ni
Anonymous: kyu!?
Anonymous: koi nah, baad mein bta dena.. abh mujhe jana hoga
Anonymous: Good night!
Anonymous: byee
SwankeyGirl4567: okh Good Morning.. have a Horror dreams.. take Care
SwankeyGirl4567: byeeeeeeee
Anonymous: have some ghostly dreams.. xD
SwankeyGirl4567: okh... bye bye...xD

Answers

Answered by udayagrawal49
11

Answer:

(α) The required SQL commαnds to creαte the given tαble αre :-

drop tαble Students;

creαte tαble Students (

Roll_No int,

Nαme vαrchαr(50),

Clαss vαrchαr(3),

Mαrks int  );

INSERT INTO Students

vαlues (101,'Ajαy','X',765);

INSERT INTO Students

vαlues (107,'Surαj','IX',865);

INSERT INTO Students

vαlues (109,'Simrαn','X',766);

INSERT INTO Students

vαlues (103,'Amαn','IX',821);

INSERT INTO Students

vαlues (104,'Nαresh','IX',1);

(b) The required query to display the details of all the students studuing in class X is :-

SELECT * FROM Students

WHERE Class='X';

(c) The required query to change the Roll_No of the student named Aman to 106 is :-

UPDATE Students

SET roll_no=106

WHERE Name='Aman';

(d) The required query to delete the record where the value of Marks is 1 is :-

DELETE FROM Students

WHERE Marks=1;


Anonymous: thanks a lot Sir!
Anonymous: Have a great day ☺️
udayagrawal49: welcome bro... I am not any sir... you can call me bro... same to you bro
Anonymous: :))
Anonymous: Ur age bro!?
udayagrawal49: 17
Similar questions