Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6733515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:46:40+00:00 2026-05-26T10:46:40+00:00

I am taking the free Stanford database course online. I don’t have any DB

  • 0

I am taking the free Stanford database course online. I don’t have any DB experience, but have many years of OS programming experience. Typically, I will flowchart or write out pseudo-code for a particular algorithm before coding it up. I was wondering if this technique can be used to go from a flowchart or pseudo-code into SQL statements.

Does a loop that iterates over a set match a WHERE clause? Is this mostly(?) or always(?) true?

How would you map a doubly nested loop into SQL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:46:41+00:00Added an answer on May 26, 2026 at 10:46 am

    SQL uses set-based logic (relational algebra/calculus), whereas most programming languages are imperative/procedural (e.g. C#, Java, etc).

    If you write set-based logic pseudocode then it should be just as straightforward to translate to SQL as imperative pseudo-code is to translate to C#.

    An example of set-based logic pseudo code might be something like this:

    1.Join book stores and titles over the BookstoreID.
    2.Restrict the result of that join to tuples for the book Some Sample Book.
    3.Project the result of that restriction over StoreName and StorePhone.
    

    If you are trying to convert imperative pseudo-code to SQL (or set-based pseudo-code to C#) it’s going to be much more painful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a menu generated dynamically by taking title from database. i have set
I'm doing these free online Stanford classes and learning Java. I'm stuck on something
I have a database that's taking up nearly 7 gigs. If I look at
Is there a free open-source solution taking raw e-mail message (as a piece of
I am learning C, mainly by K&R, but now I have found an Object
I have to use an extern library providing lots of free functions that do
I have some issues resolving an algorithm used to find all posible combinations taking
I am taking a C++ programming class right now on GIS Programming. I am
So I keep hearing a lot about point free programming and I decided to
I might be way off here, but I have an ArrayAdapter managing static data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.