+1 vote
in Class 12 by kratos

Write SQL query to create a table 'Player' with the following structure :

| Field | Type | Constraint |
| playerid | Integer | Primary Key |
| name | Varchar (50) | |
| height | Integer | |
| weight | Integer | |
| datebirth | Date | |
| teamname | Varchar (50) | |

1 Answer

+4 votes
by kratos
 
Best answer

CREATE TABLE Player(playerld integer PRIMARY KEY name varchar( S0), height integer, weight integer, datebirth date, teamname varchar(50));

...