About 95,600 results
Open links in new tab
  1. sql - Can I use multiple "with"? - Stack Overflow

    Nov 24, 2015 · These are CTEs - Common Table Expressions. They are more like... named queries that you can use as if they were tables... or rather more like views. Please google …

  2. Multiple separate IF conditions in SQL Server - Stack Overflow

    Mar 2, 2017 · I have multiple IF statements that are independent of each other in my stored procedure. But for some reason they are being nested inside each other as if they are part of …

  3. plsql - How to run multiple SQL queries? - Stack Overflow

    Example 1st Query: Create table A. 2nd Query: Update value in table A 3rd Query: Drop table A. Instead of running these three queries one by one, I want to run them in on go either by …

  4. sql query with multiple where statements - Stack Overflow

    Dec 27, 2011 · I am having a rather, for me, complicated mysql query on which I am totally stuck and cannot find any answer for online. Here's my query: SELECT items.* FROM items INNER …

  5. SQL: Two select statements in one query - Stack Overflow

    Aug 13, 2015 · I want to select information from two SQL tables within one query, the information is unrelated though, so no potential joints exist. An example could be the following setup. …

  6. Can we have multiple "WITH AS" in single sql - Oracle SQL

    I had a very simple question: Does oracle allow multiple "WITH AS" in a single sql statement. Example:

  7. How do I do multiple CASE WHEN conditions using SQL Server …

    What I'm trying to do is use more than one CASE WHEN condition for the same column. Here is my code for the query: SELECT Url='', p.ArtNo, p.[Description], ...

  8. Multiple WHERE conditions in one SQL statement - Stack Overflow

    Jul 4, 2019 · We are not allowed to use the multiple where condition in the same statement. For that you need to approach by using and. For example:

  9. How Do I Combine Multiple SQL Queries? - Stack Overflow

    Apr 22, 2014 · 10 I'm having some trouble figuring out any way to combine two SQL queries into a single one that expresses some greater idea. For example, let's say that I have query A, and …

  10. Multiple OR Clauses in sql server - Stack Overflow

    Dec 21, 2012 · EDIT Since the dates come from a text file, you should import the file in a table using either SSIS or the BULK INSERT T-SQL command and join the tables. BULK INSERT is …