SQL Query
SELECT fname , job_id , pub_id , convert ( varchar , hire_date ) FROM dbo . employee ; SELECT fname , job_id , pub_id , convert ( varchar , hire_date , 101 ) FROM dbo . employee ; SELECT fname , job_id , pub_id , convert ( varchar , hire_date , 102 ) FROM dbo . employee ; SELECT fname , job_id , pub_id , convert ( varchar , hire_date , 103 ) FROM dbo . employee ; SELECT fname , job_id , pub_id , convert ( varchar , hire_date , 104 ) FROM dbo . employee ; Function count n Return sigle value use pubs ; -- Count Total number select COUNT (*) As 'Total' from employee ; Use where use pubs ; -- Count Total number select COUNT (*) from dbo . jobs where min_lvl = '25' ; AVG function use pubs ; -- AVG < number select * from dbo . sales Where qty < ( select Avg ( qty ) from sales ); Minimum function use pubs ; -- min number select MIN ( qty ) from dbo . sales ; Max FUNCTION use p...