About 2,000,000 results
Open links in new tab
  1. sql - how to select multiple names in a single query - Stack Overflow

    Apr 8, 2012 · You can do: select * from users where uname in ("ali", "veli") As per: http://www.w3schools.com/sql/sql_in.asp

  2. Selection of entries that have only two words with SQL wildcards

    Dec 25, 2020 · I want to select only those data which have only two words. For example, if the table consists of a title named "Buckingham Palace", I would have wanted it in my resultant …

  3. SQL SELECT Statement - W3Schools

    Here, column1, column2, ... are the field names of the table you want to select data from. The table_name represents the name of the table you want to select data from. Below is a …

  4. 5 SQL Subquery Examples - LearnSQL.com

    Nov 18, 2021 · Here are 5 SQL subquery examples demonstrating how to use scalar, multirow, and correlated subqueries in the WHERE, FROM, JOIN, and SELECT clauses.

  5. sql - How do I view 2 names in one SELECT query - Stack Overflow

    Nov 20, 2019 · I want to get two user names from users table by matching them with usrID and res_usrID fields from my cases table to view their names from users table with usrGivenName …

  6. Using LIKE, IN, BETWEEN, and wildcards to match multiple values in SQL

    Using LIKE with wildcards The true power of LIKE comes with the use of wildcards. Match zero-or-more characters with % The percentage sign – % – is a stand-in for "zero-or-more …

  7. Mastering SQL WHERE Clause With Multiple Values | DcodeSnippet

    May 19, 2024 · One way to filter data by multiple values is by using the IN operator. This operator allows you to specify a list of values that you want to include in your results. For example, if …

  8. Select one column by two different names in the same query

    Apr 9, 2016 · select n1.name as "n1", n2.name as "n2" from main n1, main n2 where n1.name = 'Ahmad' and n2.name = 'Sami';

  9. How to Use SELECT with Multiple Subqueries to Same Table in SQL

    Oct 12, 2024 · Using multiple subqueries referencing the same table can make the overall query long and inefficient. Learn how to avoid this.

  10. How can I show just the name only once? - SQLServerCentral

    Sep 1, 2010 · 1, regular query such as select * from PCS60418_MTHLY_XREF where name like '%@name%' only gives me one row of data if name is found. That doesn't give me all the data …

  11. Some results have been removed
Refresh