CS XII Practical 23
CS XII Practical 23
Answers:
a) select pow(5,3);
b) select round(563.854741,-2);
c) select mid(“Computer”,4,3);
d) select concat(day(now()), concat('.',month(now()),concat('.',year(now()))))
"Date";
e) selectright("Media",3);
create table team -> (teamid int(1), -> teamnamevarchar(10), primary key(teamid));
c) desc team;
◻ Inserting data:
Answers:
a) select match_details.matchid, match_details.firstteamid,
team.teamname,match_details.firstteamscore from match_details, team
where match_details.firstteamid = team.teamid and match_details.first
b) selectmatch_details.matchid,match_details.firstteamid,team.teamname,match_d
etails.firstteamscore from match_details, team where
match_details.firstteamid= team.teamid and match_details.firstteamscore>70;
Program 12: Consider the following table and write the queries:
Answers:
a) select * from stock order by stockdate;
PYTHON
DATABASE
CONNECTIVITY