SQL Noob Forum

Discussion in 'SQL Exams' started by chicola, Sep 28, 2015.

  1. chicola

    chicola Bit Poster

    23
    0
    2
    Hi,

    Is there a good forum online that is well suited to complete noobs in SQL? I need to ask some laughably basic questions as I am very much a beginner.

    Can someone recommend one to me as I have searched, but am scared to post on the forums I have found as they look more suited to professionals.

    Thanks.
     
  2. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator Premium Member

    7,200
    951
    318
    Post on here mate it costs nothing and there are no silly questions. We don't bite
     
    Certifications: VCP4, 5, 6, 6.5, 6.7, 7, 8, VCAP DCV Design, VMConAWS Skill, Google Cloud Digital Leader, BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, CCA (XenApp6.5), MCSA 2012, VSP, VTSP
    WIP: Google Cloud Certs
  3. SimonD
    Honorary Member

    SimonD Terabyte Poster

    3,681
    440
    199
    Well most of us, Jim has had several warnings and we do muzzle him sometimes ;)
     
    Certifications: CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE:S 2003 | MCTS:SCCM 2007 | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V | VCP 4 | ITIL v3 Foundation | VCP 5 DCV | VCP 5 Cloud | VCP6 NV | VCP6 DCV | VCAP 5.5 DCA
  4. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator Premium Member

    7,200
    951
    318
    What can I say, I'm a giver :)
     
    Certifications: VCP4, 5, 6, 6.5, 6.7, 7, 8, VCAP DCV Design, VMConAWS Skill, Google Cloud Digital Leader, BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, CCA (XenApp6.5), MCSA 2012, VSP, VTSP
    WIP: Google Cloud Certs
  5. chicola

    chicola Bit Poster

    23
    0
    2
    Okay I have the query below and when I remove the comments from "AS TotalItemsOver$1000" I get the error message "The multi-part identifier SalesLT.SalesOrderDetail.ProductID could not be bound". Can you explain why?

    SELECT SUM(OrderQty)FROM SalesLT.SalesOrderDetail

    --AS TotalItemsOver$1000


    INNERJOIN SalesLT.Product

    ON SalesLT.SalesOrderDetail.ProductID = SalesLT.Product.ProductID

    WHERE SalesLT.Product.ListPrice > 1000


    Thanks.
     
  6. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    http://www.w3schools.com/sql/sql_alias.asp

    Looks like the alias is in the wrong place ?

    Try :-

    SELECT SUM(OrderQty) AS TotalOver$1000
    FROM SalesLT.SalesOrderDetail AS o
    INNERJOIN SalesLT.Product AS p
    ON o.ProductID = p.ProductID
    WHERE p.ListPrice > 1000
     
    JK2447 likes this.
  7. chicola

    chicola Bit Poster

    23
    0
    2
    Many thanks, that worked.
     
  8. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator Premium Member

    7,200
    951
    318
    There you go. So in answer to "Is there a good forum online that is well suited to complete noobs in SQL? " I recommend one called Certforums.co.uk :cjeremy635::dance3::perfect10:
     
    Certifications: VCP4, 5, 6, 6.5, 6.7, 7, 8, VCAP DCV Design, VMConAWS Skill, Google Cloud Digital Leader, BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, CCA (XenApp6.5), MCSA 2012, VSP, VTSP
    WIP: Google Cloud Certs

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.