CS Mysql
CS Mysql
<1000000;
E) select moviename from movie where type ='action' or type='romance';
2.
A) select sum(charges) from patient where dateofadm like '%-11-%';
3.
A) create database sports;
b)
B) Creating table with the given specification create table team (teamid int(1), teamname
varchar(10), primary key(teamid));
C) mqsql> insert into team values(1,'Tehlka');
21.
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) 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.firstteamscore>70;
22.
A)SELECT * from stock order by stockdate;
b) select dcode,max(unitprice) from stock group by code;