Advertisements
Advertisements
Question
Write an SQL statement to create a table named EMPLOYEES, with the following specifications:
| Column Name |
Data Type | Key |
| EmployeeID | Numeric | Primary Key |
| EmpName | Varchar(25) | |
| HireDate | Date | |
| Salary_in_Lacs | Float(4,2) |
Code Writing
Advertisements
Solution
CREATE TABLE EMPLOYEES (
EmployeeID NUMERIC PRIMARY KEY
EmpName VARCHAR(25,
HireDate DATE,
Salary_in_Lacs FLOAT(4,2)
);shaalaa.com
Is there an error in this question or solution?
