Skip to content

Instantly share code, notes, and snippets.

@nguyenhaison183
Last active January 10, 2021 16:58
Show Gist options
  • Save nguyenhaison183/2a70dcb115e4f9a5fa09b8d733658347 to your computer and use it in GitHub Desktop.
Save nguyenhaison183/2a70dcb115e4f9a5fa09b8d733658347 to your computer and use it in GitHub Desktop.
Project: RPA Fraud Detection | Codecademy | Analyze data with SQL | 2. Writing basic queries | Extra practice
SELECT *
FROM transaction_data
LIMIT 10;
SELECT full_name, email, zip
FROM transaction_data
WHERE zip = 20252;
SELECT full_name, email
FROM transaction_data
WHERE full_name = 'Art Vandelay'
OR full_name LIKE '% der %';
SELECT ip_address, email
FROM transaction_data
WHERE ip_address LIKE '10.%';
SELECT email
FROM transaction_data
WHERE email LIKE '%temp_email.com';
SELECT *
FROM transaction_data
WHERE full_name LIKE 'John%'
AND ip_address LIKE '120.%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment