text
stringclasses 157
values |
|---|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
What is the latest created Account?
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Show top 5 Account by Industry
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5
|
### Instruction:
List all Account created today
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE CreatedDate = TODAY
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
Show top 5 Contact by Account ID
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
What is the latest created Account?
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Get Account where Account Name is not null
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE Name != null
|
### Instruction:
Search for Contact containing 'Test' in Last Name
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%'
|
### Instruction:
Search for Account containing 'Option1' in Industry
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%'
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
Show top 5 Account by Annual Revenue
### Schema:
Object: Account
### Response:
SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
What is the latest created Account?
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Get Contact where Email is not null
### Schema:
Object: Contact
### Response:
SELECT Id, Email FROM Contact WHERE Email != null
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
Show top 5 Contact by Last Name
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5
|
### Instruction:
Show top 5 Contact by Account ID
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5
|
### Instruction:
Get Contact where Last Name is not null
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName != null
|
### Instruction:
Count Contact by First Name
### Schema:
Object: Contact
### Response:
SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Count Account by Account Name
### Schema:
Object: Account
### Response:
SELECT Name, COUNT(Id) FROM Account GROUP BY Name
|
### Instruction:
Search for Contact containing 'Test' in Last Name
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%'
|
### Instruction:
List all Contact created today
### Schema:
Object: Contact
### Response:
SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY
|
### Instruction:
Show top 5 Contact by Account ID
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5
|
### Instruction:
Show me Account where Industry is Option1
### Schema:
Object: Account
### Response:
SELECT Industry FROM Account WHERE Industry = 'Option1'
|
### Instruction:
Count Contact by Account ID
### Schema:
Object: Contact
### Response:
SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId
|
### Instruction:
Show top 5 Contact by First Name
### Schema:
Object: Contact
### Response:
SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
List all Account created today
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE CreatedDate = TODAY
|
### Instruction:
Show top 5 Contact by Email
### Schema:
Object: Contact
### Response:
SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5
|
### Instruction:
Count Account by Account Name
### Schema:
Object: Account
### Response:
SELECT Name, COUNT(Id) FROM Account GROUP BY Name
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
List all Contact created today
### Schema:
Object: Contact
### Response:
SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY
|
### Instruction:
Get Account where Annual Revenue is not null
### Schema:
Object: Account
### Response:
SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null
|
### Instruction:
Show me Contact where First Name is Test
### Schema:
Object: Contact
### Response:
SELECT FirstName FROM Contact WHERE FirstName = 'Test'
|
### Instruction:
Show top 5 Contact by Email
### Schema:
Object: Contact
### Response:
SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5
|
### Instruction:
List all Contact created today
### Schema:
Object: Contact
### Response:
SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY
|
### Instruction:
Search for Account containing 'Test' in Account Name
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE Name LIKE '%Test%'
|
### Instruction:
List all Account created today
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE CreatedDate = TODAY
|
### Instruction:
Get Contact where Email is not null
### Schema:
Object: Contact
### Response:
SELECT Id, Email FROM Contact WHERE Email != null
|
### Instruction:
Get Account where Created Date is not null
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null
|
### Instruction:
What is the latest created Account?
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Find Contact where First Name starts with 'A'
### Schema:
Object: Contact
### Response:
SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%'
|
### Instruction:
Find Account where Account Name starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE Name LIKE 'A%'
|
### Instruction:
Count Contact by Last Name
### Schema:
Object: Contact
### Response:
SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName
|
### Instruction:
List all Contact created today
### Schema:
Object: Contact
### Response:
SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY
|
### Instruction:
Get Account where Account Name is not null
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE Name != null
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
Show top 5 Contact by Last Name
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5
|
### Instruction:
List all Account created today
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE CreatedDate = TODAY
|
### Instruction:
Search for Contact containing 'Test' in First Name
### Schema:
Object: Contact
### Response:
SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%'
|
### Instruction:
Show top 5 Contact by First Name
### Schema:
Object: Contact
### Response:
SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
What is the latest created Account?
### Schema:
Object: Account
### Response:
SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
List all Account created today
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE CreatedDate = TODAY
|
### Instruction:
Find Account with Annual Revenue greater than 5077
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE AnnualRevenue > 5077
|
### Instruction:
Find Contact where Last Name starts with 'A'
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%'
|
### Instruction:
Show me Account where Industry is Option1
### Schema:
Object: Account
### Response:
SELECT Industry FROM Account WHERE Industry = 'Option1'
|
### Instruction:
List all Contact created today
### Schema:
Object: Contact
### Response:
SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
Show top 5 Account by Annual Revenue
### Schema:
Object: Account
### Response:
SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5
|
### Instruction:
Get Contact where Account ID is not null
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact WHERE AccountId != null
|
### Instruction:
Show top 5 Account by Account Name
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Search for Contact containing 'Test' in First Name
### Schema:
Object: Contact
### Response:
SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%'
|
### Instruction:
Get Contact where Last Name is not null
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName != null
|
### Instruction:
Get Contact where Account ID is not null
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact WHERE AccountId != null
|
### Instruction:
Get Contact where Last Name is not null
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName != null
|
### Instruction:
Find Account where Account Name starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Name FROM Account WHERE Name LIKE 'A%'
|
### Instruction:
Count Contact by First Name
### Schema:
Object: Contact
### Response:
SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Get Contact where Account ID is not null
### Schema:
Object: Contact
### Response:
SELECT Id, AccountId FROM Contact WHERE AccountId != null
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Find Account where Industry starts with 'A'
### Schema:
Object: Account
### Response:
SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%'
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
Get Contact where Last Name is not null
### Schema:
Object: Contact
### Response:
SELECT Id, LastName FROM Contact WHERE LastName != null
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
Show me Account where Account Name is Test
### Schema:
Object: Account
### Response:
SELECT Name FROM Account WHERE Name = 'Test'
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
Show top 5 Contact by Email
### Schema:
Object: Contact
### Response:
SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5
|
### Instruction:
Show me Contact where Last Name is Test
### Schema:
Object: Contact
### Response:
SELECT LastName FROM Contact WHERE LastName = 'Test'
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
List first 10 Contact
### Schema:
Object: Contact
### Response:
SELECT Id FROM Contact LIMIT 10
|
### Instruction:
List first 10 Account
### Schema:
Object: Account
### Response:
SELECT Id FROM Account LIMIT 10
|
### Instruction:
What is the latest created Contact?
### Schema:
Object: Contact
### Response:
SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1
|
### Instruction:
Show me Contact where Last Name is Test
### Schema:
Object: Contact
### Response:
SELECT LastName FROM Contact WHERE LastName = 'Test'
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 11