Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
devender
Contributor II
Contributor II

pick record from field

Hi,

I have a field with 120 records, now i have to pull only 7 records from sql field.

Labels (1)
3 Replies
MayilVahanan

Hi

Try like below

First 7 SQL SELECT * from urtablename;

or
SQL SELECT top 7 * from urtablename;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
devender
Contributor II
Contributor II
Author

Hi,

They are not in order. i just have the record names and i have to fetch with the names.

MayilVahanan

HI

In that case, you need to use where condition like

SQL Select * from urtablename where names in ('x','y','z'); 

in Qlik

Load * from urfile where match(names, 'x','y','z');

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.