Write and run the following queries for your database using SQL commands: 1. List all the customers whose pin code is “ 110068” and have prime membership.
To write and execute an SQL query that lists all the customers whose pin code is "110068" and have a prime membership, you would first need to ensure the structure of your database contains the relevant information. Typically, customer data could be stored in a table such as `customers`, which may have columns such as `customer_id`, `name`, `pin_code`, and `membership_type`.
Assuming your `customers` table contains these fields, and `membership_type` is a column that indicates the type of membership each customer has (with "prime" being one of the possible values), the SQL query would look like this:
```sql
SELECT *
_________ ______ ____ ______ ______ _______ ______ ____ _______ __________.
______ _______ _________ ___ ________ _____.
______ ____ ________ _________ ___.
________ _________ _________ ______ _________ _______ __________ ______ ____.
__________ _______ _____ __________ _____.
________ ______ ____ _______ ____.
_______ ________ ________ _____ __________ ______ _______ ________.
_____ _____ _____ ___ _____ __________ _____ _______.
_______ ________ _____ __________ ______ ____ __________.
________ ___ _____ _________ ________ ________ _____ _________ ___.
_______ _________ ____ _______ ____ ______ ____ _______ ______ _____ __________.
_____ _______ _____ _____ __________ _______ ____ _________ _____ ______ ____.
___ ______ __________ _____ _____ ______ ______ _____ _______ ____.
________ _________ ___ ________ _____ _______ _________ _____ _______.
__________ ___ ____ __________ _____ _____ _____ _________.
___ ________ _____ _________ __________ _______ ____ _______ ___ _________.
_______ _________ _______ ______ ______ __________ _______ _____ ___ _________.
__________ ______ _________ ____ ______ __________ __________ _________ ___.
________ _______ _____ ______ _____ ____ _________ _____ ______.
___ ______ _________ _______ _______ ___ ____ ____.
_______ _________ ___ _____ ______ __________ ___ ___ __________ ___ _______.
____ _______ ________ ______ ________ _________ _____ ____.
______ _______ __________ __________ __________ _______ _____ _____ ____ ___ ___ _______.
______ _______ ____ ______ __________.
___ ____ ____ ___ _____ ____ ___ _____ _________.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required