You could do like this:
SELECT city FROM user WHERE (firstName, lastName) IN (('a', 'b'), ('c', 'd'));
More Related Contents:
- Search All Fields In All Tables For A Specific Value (Oracle)
- Select First Row of Every Group in sql [duplicate]
- Oracle: how to UPSERT (update or insert into a table?)
- Get top results for each group (in Oracle)
- Comparing Dates in Oracle SQL
- Oracle SQL query: Retrieve latest values per group based on time [duplicate]
- ORA-12560: TNS:protocol adaptor error
- GROUP BY / aggregate function confusion in SQL
- Oracle “(+)” Operator
- How do you create a temporary table in an Oracle database?
- What exactly do quotation marks around the table name do?
- How can I get column names from a table in Oracle?
- How to store only time; not date and time?
- How does GROUP BY work?
- What’s the difference between RANK() and DENSE_RANK() functions in oracle?
- SQL Error: ORA-01861: literal does not match format string 01861
- Determine Oracle null == null
- How to anticipate and escape single quote ‘ in oracle
- INSERT SELECT statement in Oracle 11G
- Oracle insert if row does not exist
- Display names of all constraints for a table in Oracle SQL
- SQL Oracle LEFT JOIN and SUBQUERY error: ORA-00905: missing keyword
- Does ‘Select’ always order by primary key?
- Query json dictionary data in SQL
- How to use a dynamic parameter in a IN clause of a JPA named query?
- How to check if a column exists before adding it to an existing table in PL/SQL?
- What’s the correct name for an “association table” (a many-to-many relationship) [closed]
- Why doesn’t Oracle SQL allow us to use column aliases in GROUP BY clauses?
- Exporting a CLOB to a text file using Oracle SQL Developer
- Oracle ‘Partition By’ and ‘Row_Number’ keyword