Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Write MySQL code to create a table with the following field name: empNo, empName, empBasicSalary, empHouseAllowance, empPhoneNo

Write MySQL code to create a table with the following field name: empNo, empName, empBasicSalary, empHouseAllowance, empPhoneNo

Answers


Benjamin
CREATE TABLE Employees (
empNo INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
empName VARCHAR(30) NOT NULL,
empBasicSalary INT(50) NOT NULL,
empHouseAllowance INT(30) NOT NULL,
empPhoneNumber INT(10) NOT NULL
)

Future Great Thinker answered the question on August 7, 2020 at 08:40

Answer Attachments

Exams With Marking Schemes

Related Questions