diff --git "a/autotrain_dataset.csv" "b/autotrain_dataset.csv" deleted file mode 100644--- "a/autotrain_dataset.csv" +++ /dev/null @@ -1,61165 +0,0 @@ -text -"### 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' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 3441 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3441 -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -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 Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = '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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 7283 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7283 -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Account with Annual Revenue greater than 822 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 822 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = '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: -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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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 Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != 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 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 First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -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: -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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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 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: -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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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 with Annual Revenue greater than 3511 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3511 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -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: -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: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 3826 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3826 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 2264 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2264 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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 First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = '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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Account with Annual Revenue greater than 3227 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3227 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 393 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 393 -" -"### 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 with Annual Revenue greater than 5263 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5263 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Account with Annual Revenue greater than 1812 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1812 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 6914 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6914 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 8325 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8325 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -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: -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: -Find Account with Annual Revenue greater than 4337 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4337 -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 3385 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3385 -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 1717 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1717 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 9333 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9333 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Find Account with Annual Revenue greater than 3361 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3361 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -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 Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 7942 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7942 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 4190 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4190 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 2525 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2525 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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 top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -Find Account with Annual Revenue greater than 7200 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7200 -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Account with Annual Revenue greater than 9089 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9089 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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: -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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Account with Annual Revenue greater than 9000 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9000 -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 with Annual Revenue greater than 8258 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8258 -" -"### 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: -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 Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 2118 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2118 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != 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 Account with Annual Revenue greater than 5647 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5647 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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 Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 1338 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1338 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Account with Annual Revenue greater than 6479 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6479 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -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 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Account with Annual Revenue greater than 879 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 879 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 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: -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 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Find Account with Annual Revenue greater than 9285 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9285 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 2765 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2765 -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -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 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 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 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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: -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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Account with Annual Revenue greater than 5218 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5218 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 5929 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5929 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -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 Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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: -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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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: -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 First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 5756 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5756 -" -"### Instruction: -Find Account with Annual Revenue greater than 3172 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3172 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account with Annual Revenue greater than 7242 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7242 -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### 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 Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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: -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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Find Account with Annual Revenue greater than 8583 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8583 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Find Account with Annual Revenue greater than 1562 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1562 -" -"### 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 top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Account with Annual Revenue greater than 1717 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1717 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 6193 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6193 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account with Annual Revenue greater than 7627 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7627 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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: -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: -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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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 Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 with Annual Revenue greater than 313 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 313 -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Find Account with Annual Revenue greater than 3493 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3493 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Find Account with Annual Revenue greater than 1151 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1151 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -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 Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 7601 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7601 -" -"### Instruction: -Find Account with Annual Revenue greater than 316 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 316 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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: -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 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId 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 Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 4002 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4002 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = '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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 5991 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5991 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account with Annual Revenue greater than 3383 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3383 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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 top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 2369 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2369 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != 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: -Find Account with Annual Revenue greater than 6201 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6201 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = '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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 9500 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9500 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 2739 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2739 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### 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 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 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: -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: -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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -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 Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 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: -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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 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 where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -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: -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: -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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Find Account with Annual Revenue greater than 7261 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7261 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account with Annual Revenue greater than 9518 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9518 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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 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: -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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 7488 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7488 -" -"### 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 Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 5102 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5102 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != 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 Account with Annual Revenue greater than 1707 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1707 -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 with Annual Revenue greater than 1800 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1800 -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Account with Annual Revenue greater than 3910 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3910 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 607 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 607 -" -"### Instruction: -Find Account with Annual Revenue greater than 1559 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1559 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 with Annual Revenue greater than 8964 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8964 -" -"### 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 Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 283 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 283 -" -"### 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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Account with Annual Revenue greater than 5941 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5941 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 3900 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3900 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 3914 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3914 -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 8096 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8096 -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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 with Annual Revenue greater than 9995 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9995 -" -"### Instruction: -Find Account with Annual Revenue greater than 6727 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6727 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 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: -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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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 top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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: -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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 960 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 960 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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 Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId 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: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -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 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Account with Annual Revenue greater than 628 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 628 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 7911 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7911 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Account with Annual Revenue greater than 5353 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5353 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 3262 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3262 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Account with Annual Revenue greater than 2910 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2910 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -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: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Find Account with Annual Revenue greater than 1005 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1005 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 9678 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9678 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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 Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Account with Annual Revenue greater than 9734 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9734 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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: -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' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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 me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Find Account with Annual Revenue greater than 4073 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4073 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 8059 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8059 -" -"### 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 697 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 697 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 8472 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8472 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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: -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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### 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: -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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId 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 Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -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 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 2586 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2586 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = '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 First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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 Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Account with Annual Revenue greater than 1702 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1702 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 2827 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2827 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account with Annual Revenue greater than 7492 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7492 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -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 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 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 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: -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 top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account with Annual Revenue greater than 1619 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1619 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 2442 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2442 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != 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 Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 9190 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9190 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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: -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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Find Account with Annual Revenue greater than 2407 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 2407 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Account with Annual Revenue greater than 5914 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5914 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = '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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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 Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Find Account with Annual Revenue greater than 9565 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9565 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Find Account with Annual Revenue greater than 8467 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8467 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 8341 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8341 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Account with Annual Revenue greater than 5040 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5040 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 7466 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7466 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -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: -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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Find Account with Annual Revenue greater than 9645 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9645 -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -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 Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -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: -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: -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 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: -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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 7461 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7461 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### 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: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -Find Account with Annual Revenue greater than 3307 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 3307 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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 First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Find Account with Annual Revenue greater than 4197 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4197 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Find Account with Annual Revenue greater than 8106 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8106 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -Find Account with Annual Revenue greater than 4422 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4422 -" -"### Instruction: -Find Account with Annual Revenue greater than 1276 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 1276 -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 8913 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 8913 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 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: -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: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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 first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -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 Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Account with Annual Revenue greater than 6325 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6325 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != 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: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account 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: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 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 me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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: -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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### 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: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 9217 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9217 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact 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: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -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' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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 Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account with Annual Revenue greater than 9862 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9862 -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Find Account with Annual Revenue greater than 6481 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 6481 -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### 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: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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 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 Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account with Annual Revenue greater than 9757 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 9757 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### 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 Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### 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: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName 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: -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: -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: -Find Account with Annual Revenue greater than 7654 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 7654 -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### 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 Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Find Account with Annual Revenue greater than 5351 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5351 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### 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 Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### 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 Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### 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 top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### 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 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: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### 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 First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Contact where Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact ORDER BY Email DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### 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: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName 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: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### 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: -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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### 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 5019 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 5019 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Show top 5 Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact ORDER BY AccountId DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Show top 5 Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact ORDER BY LastName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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 Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### 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 first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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 Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -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: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != 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 Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### 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: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account with Annual Revenue greater than 4588 - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE AnnualRevenue > 4588 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### 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 Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 Last Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName != null -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Count Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Name, COUNT(Id) FROM Account GROUP BY Name -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact 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: -Count Contact by Account ID - -### Schema: -Object: Contact - -### Response: -SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -What is the latest created Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Show top 5 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -List first 10 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -Get Account where Account Name is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name != null -" -"### 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: -Search for Contact containing 'Test' in Last Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE '%Test%' -" -"### Instruction: -Count Contact by Last Name - -### Schema: -Object: Contact - -### Response: -SELECT LastName, COUNT(Id) FROM Contact GROUP BY LastName -" -"### Instruction: -Get Account where Industry is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry != null -" -"### Instruction: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != null -" -"### Instruction: -Show me Account where Industry is Option1 - -### Schema: -Object: Account - -### Response: -SELECT Industry FROM Account WHERE Industry = 'Option1' -" -"### Instruction: -Get Account where Created Date is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account WHERE CreatedDate != null -" -"### 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 Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact ORDER BY FirstName DESC LIMIT 5 -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### 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 Account? - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account 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: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### 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 Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Find Contact where First Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE 'A%' -" -"### Instruction: -Show me Account where Account Name is Test - -### Schema: -Object: Account - -### Response: -SELECT Name FROM Account WHERE Name = 'Test' -" -"### Instruction: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Show top 5 Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account ORDER BY Industry DESC LIMIT 5 -" -"### Instruction: -Show me Contact where Email is Test - -### Schema: -Object: Contact - -### Response: -SELECT Email FROM Contact WHERE Email = 'Test' -" -"### Instruction: -Get Contact where Account ID is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, AccountId FROM Contact WHERE AccountId != null -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### 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: -Get Contact where Email is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email != null -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Account by Industry - -### Schema: -Object: Account - -### Response: -SELECT Industry, COUNT(Id) FROM Account GROUP BY Industry -" -"### Instruction: -What is the latest created Contact? - -### Schema: -Object: Contact - -### Response: -SELECT Id, CreatedDate FROM Contact ORDER BY CreatedDate DESC LIMIT 1 -" -"### Instruction: -Find Contact where Last Name starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, LastName FROM Contact WHERE LastName LIKE 'A%' -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by Email - -### Schema: -Object: Contact - -### Response: -SELECT Email, COUNT(Id) FROM Contact GROUP BY Email -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in First Name - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%Test%' -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name 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: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Show top 5 Account by Created Date - -### Schema: -Object: Account - -### Response: -SELECT Id, CreatedDate FROM Account ORDER BY CreatedDate 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: -List first 10 Contact - -### Schema: -Object: Contact - -### Response: -SELECT Id FROM Contact LIMIT 10 -" -"### 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 Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Count Contact by First Name - -### Schema: -Object: Contact - -### Response: -SELECT FirstName, COUNT(Id) FROM Contact GROUP BY FirstName -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -" -"### Instruction: -Show top 5 Account by Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account ORDER BY Name 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: -Get Account where Annual Revenue is not null - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account WHERE AnnualRevenue != 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 all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Search for Account containing 'Option1' in Industry - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE '%Option1%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE 'A%' -" -"### Instruction: -Find Contact where Email starts with 'A' - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email 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: -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 Account - -### Schema: -Object: Account - -### Response: -SELECT Id FROM Account LIMIT 10 -" -"### Instruction: -List all Account created today - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE CreatedDate = TODAY -" -"### 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 all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Get Contact where First Name is not null - -### Schema: -Object: Contact - -### Response: -SELECT Id, FirstName FROM Contact WHERE FirstName != null -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Search for Account containing 'Test' in Account Name - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE '%Test%' -" -"### 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: -List all Contact created today - -### Schema: -Object: Contact - -### Response: -SELECT Id, Name FROM Contact WHERE CreatedDate = TODAY -" -"### Instruction: -Find Account where Account Name starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Name FROM Account WHERE Name LIKE 'A%' -" -"### Instruction: -Search for Contact containing 'Test' in Email - -### Schema: -Object: Contact - -### Response: -SELECT Id, Email FROM Contact WHERE Email LIKE '%Test%' -" -"### Instruction: -Find Account where Industry starts with 'A' - -### Schema: -Object: Account - -### Response: -SELECT Id, Industry FROM Account WHERE Industry LIKE 'A%' -" -"### Instruction: -Show me Contact where Last Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT LastName FROM Contact WHERE LastName = 'Test' -" -"### Instruction: -Show top 5 Account by Annual Revenue - -### Schema: -Object: Account - -### Response: -SELECT Id, AnnualRevenue FROM Account ORDER BY AnnualRevenue DESC LIMIT 5 -" -"### Instruction: -Show me Contact where First Name is Test - -### Schema: -Object: Contact - -### Response: -SELECT FirstName FROM Contact WHERE FirstName = 'Test' -"