SELECT
Id
FROM
Contacts
WHERE
Email = 'ta@example.com'
INSERT INTO
Contacts (
First_Name,
Last_Name,
Email,
Billing_Email,
Phone_Number,
Mobile,
Address1,
Address2,
Address3,
Town,
Region,
Postcode,
Country,
Uses_Contact_Invoice_Sequence,
Contact_Name_On_Invoices,
Charge_Sales_Tax,
Sales_Tax_Registration_Number,
[Status],
Default_Payment_Terms_In_Days,
Locale
)
VALUES
(
'Thomas, ' Axen ', ' ta@example.com ', ' bills@example.com ', ' (123) 555 -0101 ', ' (321) 555 -0101 ', ' 123 Third Street ', '', '', ' Los Angeles ', ' CA ', ' 99999 ', USA',
'false',
'true',
'Always',
'US123456789',
'Active',
'30',
'en'
)
UPDATE Contacts
SET
Mobile = '(321)555-0101'
WHERE
Email = 'ta@example.com'
DELETE FROM Contacts
WHERE
Id = '18482080'