DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+5 =
Submit