SQL Queries: 1.creating Two Tables With Data
SQL Queries: 1.creating Two Tables With Data
FOR GAMES-:
INSERT INTO GAMES VALUES(101,”Carom Board”,2,5000,”23-Jan-
2004”);
FOR PLAYER-:
INSERT INTO PLAYER VALUES(1,”Nabi Ahmad”,101);
GAMES -:
3 Jatin 101
4 Nazneen 103
GCode GameName
--------- ------------------
101 Carom Board
102 Badminton
105 Chess
3.DESC Table GAMES and PLAYER -:
108 Lawn Tennis
Code -: DESC GAMES;
DESC PLAYER;
PCode Name
---------------- ---------------------------
4 Nazneen
ScheduleDate
--------------------
19-Mar-2004
ScheduleDate
--------------------
12-Dec-2003
SELECT COUNT(*) FROM GAMES;
ScheduleDate
--------------------
19-Mar-2004
ScheduleDate
--------------------
12-Dec-03
01-Jan-04
23-Jan-04
14-Feb-04
19-Mar-04
Gcode
-----------------
101
108
103