+ 1

Sql

If u have a table with column names ‘country’, ‘hiredate’ ‘empid’ what is the syntax to get the hire country; hiredate; and the number of employees hired after 20030101 from the table

20th Feb 2019, 3:34 AM
Onana
2 Respostas
+ 6
SELECT country, hiredate FROM hr WHERE hiredate>'2003-01-01'; SELECT COUNT(*) 'Total Employees' FROM hr WHERE hiredate>'2003-01-01'; Tested on http://sqlfiddle.com/#!9/2a7fad/8
20th Feb 2019, 4:32 AM
Calviղ
Calviղ - avatar
0
thanks guys
20th Feb 2019, 5:27 AM
Onana