File size: 3,903 Bytes
74575f0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
Prompt,Response
I want to get the details of all the search details for the account,"select * from SearchExecutions a
Inner join contacts b on a.usernamekey = b.usernamekey
where b.accountname = ABC"
I want to get the details of all the search details for the user,"select * from SearchExecutions a
Inner join contacts b on a.usernamekey = b.usernamekey
where b.username = ABC"
I want to know the sector of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Sectorcodes
where b.username = ABC"
I want to know the Industry group of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.IndustryGroupcode
where b.username = ABC"
I want to know the Industry of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Industrycode
where b.username = ABC"
I want to know the Subindustry of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.SubIndustrycode
where b.username = ABC"
I want to know the sector of the Company details of the searches happened for Client ABC,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Sectorcodes
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC"
I want to know the Industry group of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.IndustryGroupcode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC"
I want to know the Industry of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Industrycode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC"
I want to know the Subindustry of the Company details of the searches happened,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.SubIndustrycode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC"
I want to know the sector of the Company details of the searches happened for Client ABC for last 6 months,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Sectorcodes
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC
and a.eventdate >= currentday () - 180"
I want to know the Industry group of the Company details of the searches happened for Client ABC for last 6 months,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.IndustryGroupcode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC
and a.eventdate >= currentday () - 180"
I want to know the Industry of the Company details of the searches happened for Client ABC for last 6 months,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.Industrycode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC
and a.eventdate >= currentday () - 180"
I want to know the Subindustry of the Company details of the searches happened for Client ABC for last 6 months,"select * from SearchExecutions a
Inner join CompanySector b on a.searchCodes = b.SubIndustrycode
inner join contacts c on a.username = c.username
Inner join Accounts d on c.accountid = d.accountid
where d.accountname = ABC
and a.eventdate >= currentday () - 180" |