Results 1 to 2 of 2

Thread: Little help

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Little help

    I am trying to learn about relational algebra expressions and I came across something along the lines of
    Code:
    "SELECT cnum = 100 (PRINT CNumber, CName, StudentID, grade(COURSE * GRADE))"
    It was on a practice quiz and asked me if I could rewrite in a more efficient way. Is this simply syntactically wrong or what kind of result would this have?

    Pretty much I don't understand how a print can be wrapped inside a select. If it were the other way around, it would be simple.

    Thanks!

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    simply syntactically wrong
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •