Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

query to fetch 50% records from the table.

SELECT * 
FROM EmployeeInfo WHERE
EmpID <= (SELECT COUNT(EmpID)/2 from EmployeeInfo);
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #query #fetch #records
ADD COMMENT
Topic
Name
2+8 =