Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
17
135
input
stringclasses
1 value
output
stringlengths
19
252
Find Appointment Bundle Policy where Name starts with 'A'
SELECT Id, Name FROM ApptBundlePolicy WHERE Name LIKE 'A%'
Find Channel Program Level where Created By ID is 001000000000000AAA
SELECT Id, Name FROM ChannelProgramLevel WHERE CreatedById = '001000000000000AAA'
Show me ML Model Factor with Id 001000000000000AAA
SELECT Id FROM MLModelFactor WHERE Id = '001000000000000AAA'
Get Business Brand offset by 20 rows
SELECT Id, CreatedDate FROM BusinessBrand ORDER BY CreatedDate ASC LIMIT 20 OFFSET 20
Find all Contact where First Name equals Test
SELECT Id, FirstName FROM Contact WHERE FirstName = 'Test'
Find Appointment Bundle Restriction Policy with System Modstamp after 2023-01-01
SELECT Id, Name FROM ApptBundleRestrictPolicy WHERE SystemModstamp > 2023-01-01T00:00:00Z
Show me Channel Program with Id 001000000000000AAA
SELECT Id FROM ChannelProgram WHERE Id = '001000000000000AAA'
Find Work Order created tomorrow
SELECT Id FROM cocmd__Work_Order__c WHERE CreatedDate = TOMORROW
List all Data Use Legal Basis created today
SELECT Id FROM DataUseLegalBasis WHERE CreatedDate = TODAY
Get parent fields of Audit Calendar
SELECT Id, Owner.Name FROM cocmd__Audit_Calendar__c
Get Serialized Product offset by 20 rows
SELECT Id, LastModifiedDate FROM SerializedProduct ORDER BY LastModifiedDate ASC LIMIT 20 OFFSET 20
Find Order created next month
SELECT Id FROM Order WHERE CreatedDate = NEXT_MONTH
Sort Return Order by Last Viewed Date ascending
SELECT Id, LastViewedDate FROM ReturnOrder ORDER BY LastViewedDate ASC
Sort Attribute Picklist by Created Date nulls last
SELECT Id, CreatedDate FROM AttributePicklist ORDER BY CreatedDate DESC NULLS LAST
Find Contact Point Type Consent where Privacy Consent Status is in a set of values
SELECT Id, PrivacyConsentStatus FROM ContactPointTypeConsent WHERE PrivacyConsentStatus IN ('A','B','C')
Search for Invoice containing 'Test' in Description
SELECT Id, Description FROM Invoice WHERE Description LIKE '%Test%'
Sort Chatter Activity by Post Count nulls last
SELECT Id, PostCount FROM ChatterActivity ORDER BY PostCount DESC NULLS LAST
Get parent fields of Training Skill
SELECT Id, Owner.Name FROM cocmd__Training_Skill__c
Show me Training Skill where Created Date is 2023-01-01
SELECT CreatedDate FROM cocmd__Training_Skill__c WHERE CreatedDate = 2023-01-01T00:00:00Z
Find Badge Received created in the last 30 days
SELECT Id FROM WorkBadge WHERE CreatedDate = LAST_N_DAYS:30
Get parent fields of Organization Location
SELECT Id, Owner.Name FROM cocmd__OrganizationLocation__c
Find Asset Account Participant created in the last 30 days
SELECT Id FROM AssetAccountParticipant WHERE CreatedDate = LAST_N_DAYS:30
Sort Order by Customer Authorized Date ascending
SELECT Id, CustomerAuthorizedDate FROM Order ORDER BY CustomerAuthorizedDate ASC
Get parent fields of Opportunity Contact Role
SELECT Id, Opportunity.Name FROM OpportunityContactRole
Find Quick Text Usage where Quick Text Usage ID is 001000000000000AAA
SELECT Id, Name FROM QuickTextUsage WHERE Id = '001000000000000AAA'
Get Swarm offset by 20 rows
SELECT Id, Name FROM Swarm ORDER BY Name ASC LIMIT 20 OFFSET 20
Find ML Model Metric where ML Model Metric ID is 001000000000000AAA
SELECT Id, Name FROM MLModelMetric WHERE Id = '001000000000000AAA'
Get parent fields of Streaming Channel
SELECT Id, Owner.Name FROM StreamingChannel
Show me Streaming Channel with Id 001000000000000AAA
SELECT Id FROM StreamingChannel WHERE Id = '001000000000000AAA'
Show me Organization Location where Name is Test
SELECT cocmd__Name__c FROM cocmd__OrganizationLocation__c WHERE cocmd__Name__c = 'Test'
Show me Process Exception with Id 001000000000000AAA
SELECT Id FROM ProcessException WHERE Id = '001000000000000AAA'
Sort Warranty Term by Warranty Unit Of Time nulls last
SELECT Id, WarrantyUnitOfTime FROM WarrantyTerm ORDER BY WarrantyUnitOfTime DESC NULLS LAST
Search for Organization Location containing 'Test' in Location Name
SELECT Id, Name FROM cocmd__OrganizationLocation__c WHERE Name LIKE '%Test%'
Show me Duplicate Record Set where Record Count is 5553
SELECT RecordCount FROM DuplicateRecordSet WHERE RecordCount = 5553
Show me Privacy Job Session with Id 001000000000000AAA
SELECT Id FROM PrivacyJobSession WHERE Id = '001000000000000AAA'
Show me Audit Calendar where System Modstamp is 2023-01-01
SELECT SystemModstamp FROM cocmd__Audit_Calendar__c WHERE SystemModstamp = 2023-01-01T00:00:00Z
Find Document Change Request with Approved Date after 2023-01-01
SELECT Id, Name FROM cocmd__Document_Change_Request__c WHERE cocmd__Approved_Date__c > 2023-01-01
Count Communication Subscription Channel Type by Name
SELECT Name, COUNT(Id) FROM CommSubscriptionChannelType GROUP BY Name
List all Prompt Action created today
SELECT Id, Name FROM PromptAction WHERE CreatedDate = TODAY
Show me Asset Relationship with Id 001000000000000AAA
SELECT Id FROM AssetRelationship WHERE Id = '001000000000000AAA'
Show me Resource Capacity with Id 001000000000000AAA
SELECT Id FROM ServiceResourceCapacity WHERE Id = '001000000000000AAA'
Get parent fields of Appointment Topic Time Slot
SELECT Id, CreatedBy.Name FROM AppointmentTopicTimeSlot
Show me Expense Report Entry with Id 001000000000000AAA
SELECT Id FROM ExpenseReportEntry WHERE Id = '001000000000000AAA'
Show me Partner where Primary is true
SELECT IsPrimary FROM Partner WHERE IsPrimary = true
Show me Badge Received with Id 001000000000000AAA
SELECT Id FROM WorkBadge WHERE Id = '001000000000000AAA'
Show me RecordAction where Action Type contains Flow
SELECT Id, ActionType FROM RecordAction WHERE ActionType LIKE '%Flow%'
Find Management Review where Last Modified By ID is 001000000000000AAA
SELECT Id, Name FROM cocmd__Management_Review__c WHERE LastModifiedById = '001000000000000AAA'
Search for Content Version containing 'Test' in Checksum
SELECT Id, Checksum FROM ContentVersion WHERE Checksum LIKE '%Test%'
Show me Employee Skill where Deleted is false
SELECT IsDeleted FROM cocmd__Employee_Skills__c WHERE IsDeleted = false
Search for Topic containing 'Test' in Description
SELECT Id, Description FROM Topic WHERE Description LIKE '%Test%'
Show me Product Request with Id 001000000000000AAA
SELECT Id FROM ProductRequest WHERE Id = '001000000000000AAA'
Sort Communication Subscription Consent by Consent Captured Source nulls last
SELECT Id, ConsentCapturedSource FROM CommSubscriptionConsent ORDER BY ConsentCapturedSource DESC NULLS LAST
Find Appointment Topic Time Slot created this fiscal year
SELECT Id FROM AppointmentTopicTimeSlot WHERE CreatedDate = THIS_FISCAL_YEAR
Sort Attribute Picklist Value by Last Viewed Date ascending
SELECT Id, LastViewedDate FROM AttributePicklistValue ORDER BY LastViewedDate ASC
Sort Attribute Picklist by Name nulls last
SELECT Id, Name FROM AttributePicklist ORDER BY Name DESC NULLS LAST
Find Maintenance Work Rule where Created By ID is 001000000000000AAA
SELECT Id, Name FROM MaintenanceWorkRule WHERE CreatedById = '001000000000000AAA'
Sort Asset Action Source by Product Amount ascending
SELECT Id, ProductAmount FROM AssetActionSource ORDER BY ProductAmount ASC
Sort Partner Fund Request by Total Approved Fund Claims nulls last
SELECT Id, TotalApprovedFcs FROM PartnerFundRequest ORDER BY TotalApprovedFcs DESC NULLS LAST
Get Macro Usage offset by 20 rows
SELECT Id, DurationInMs FROM MacroUsage ORDER BY DurationInMs ASC LIMIT 20 OFFSET 20
Find all Product Service Campaign where Status equals New
SELECT Id, Status FROM ProductServiceCampaign WHERE Status = 'New'
Find all Collaboration Room where Room Name equals Test
SELECT Id, Name FROM CollaborationRoom WHERE Name = 'Test'
Get parent fields of Asset Downtime Period
SELECT Id, CreatedBy.Name FROM AssetDowntimePeriod
Show me Shift with Id 001000000000000AAA
SELECT Id FROM Shift WHERE Id = '001000000000000AAA'
Find Audit Clause where Question Id not in a set of values
SELECT Id, Name FROM cocmd__AuditClause__c WHERE Name NOT IN ('X','Y')
List all Shift Pattern Entry created today
SELECT Id, Name FROM ShiftPatternEntry WHERE CreatedDate = TODAY
Sort Partner by Created Date ascending
SELECT Id, CreatedDate FROM Partner ORDER BY CreatedDate ASC
Show me Asset Account Participant with Id 001000000000000AAA
SELECT Id FROM AssetAccountParticipant WHERE Id = '001000000000000AAA'
Show me Content Document where Is Archived is false
SELECT IsArchived FROM ContentDocument WHERE IsArchived = false
List all Service Crew created today
SELECT Id, Name FROM ServiceCrew WHERE CreatedDate = TODAY
Find Location created yesterday
SELECT Id FROM Location WHERE CreatedDate = YESTERDAY
Find Seller created yesterday
SELECT Id FROM Seller WHERE CreatedDate = YESTERDAY
Show me Contact with Id 001000000000000AAA
SELECT Id FROM cocmd__Person__c WHERE Id = '001000000000000AAA'
Show me Travel Mode where Deleted is true
SELECT IsDeleted FROM TravelMode WHERE IsDeleted = true
Get parent fields of Service Crew Member
SELECT Id, CreatedBy.Name FROM ServiceCrewMember
Show top 5 Invoice Line by Line Amount
SELECT Id, LineAmount FROM InvoiceLine ORDER BY LineAmount DESC LIMIT 5
Show top 5 Prompt Action by Step Count
SELECT Id, StepCount FROM PromptAction ORDER BY StepCount DESC LIMIT 5
Show me Contact Point Type Consent with Id 001000000000000AAA
SELECT Id FROM ContactPointTypeConsent WHERE Id = '001000000000000AAA'
Get parent fields of Solution
SELECT Id, Owner.Name FROM Solution
Show me Communication Subscription with Id 001000000000000AAA
SELECT Id FROM CommSubscription WHERE Id = '001000000000000AAA'
Show me Maintenance Asset with Id 001000000000000AAA
SELECT Id FROM MaintenanceAsset WHERE Id = '001000000000000AAA'
Show me Note with Id 001000000000000AAA
SELECT Id FROM Note WHERE Id = '001000000000000AAA'
Show me Email Message where CC Address contains Test
SELECT Id, CcAddress FROM EmailMessage WHERE CcAddress LIKE '%Test%'
Get Audit Checklist offset by 20 rows
SELECT Id, cocmd__Parent_Node__c FROM cocmd__Audit_Checklist__c ORDER BY cocmd__Parent_Node__c ASC LIMIT 20 OFFSET 20
Get parent fields of Contact
SELECT Id, Owner.Name FROM cocmd__Person__c
Show me Agenda Template Item with Id 001000000000000AAA
SELECT Id FROM cocmd__Agenda_Template_Item__c WHERE Id = '001000000000000AAA'
Find Asset Inventory Assignment where Asset Inventory Assignment Name not in a set of values
SELECT Id, Name FROM cocmd__AssetInventoryAssignment__c WHERE Name NOT IN ('X','Y')
Find Asset Additional Detail created in the last 30 days
SELECT Id FROM cocmd__Asset_Additional_Detail__c WHERE CreatedDate = LAST_N_DAYS:30
Count Legal Entity by State
SELECT LegalEntityState, COUNT(Id) FROM LegalEntity GROUP BY LegalEntityState
Find Vendor Inventory Assignment created tomorrow
SELECT Id FROM cocmd__VendorInventoryAssignment__c WHERE CreatedDate = TOMORROW
Show me Partner Fund Allocation where Last Viewed Date is 2023-01-01
SELECT LastViewedDate FROM PartnerFundAllocation WHERE LastViewedDate = 2023-01-01T00:00:00Z
Find CustomException where Owner ID is 001000000000000AAA
SELECT Id, Name FROM cocmd__CustomException__c WHERE OwnerId = '001000000000000AAA'
Show me Credit Memo Invoice Application with Id 001000000000000AAA
SELECT Id FROM CreditMemoInvApplication WHERE Id = '001000000000000AAA'
Show me Privacy Object Session where Processed Successes is 5625
SELECT ProcessedSuccesses FROM PrivacyObjectSession WHERE ProcessedSuccesses = 5625
Show me Feed Item where Last Modified Date is 2023-01-01
SELECT LastModifiedDate FROM FeedItem WHERE LastModifiedDate = 2023-01-01T00:00:00Z
Show me Consumption Rate where Deleted is true
SELECT IsDeleted FROM ConsumptionRate WHERE IsDeleted = true
Find Agenda Template where Created By ID is 001000000000000AAA
SELECT Id, Name FROM cocmd__Agenda_Template__c WHERE CreatedById = '001000000000000AAA'
Show me Content Delivery where Allow Download in Original Format is true
SELECT PreferencesAllowOriginalDownload FROM ContentDistribution WHERE PreferencesAllowOriginalDownload = true
Find Maintenance Work Rule created next month
SELECT Id FROM MaintenanceWorkRule WHERE CreatedDate = NEXT_MONTH
Sort Product Consumption Schedule by Created Date ascending
SELECT Id, CreatedDate FROM ProductConsumptionSchedule ORDER BY CreatedDate ASC
Find Document created this fiscal year
SELECT Id FROM cocmd__Document__c WHERE CreatedDate = THIS_FISCAL_YEAR
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4