Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeStar1403-SE-Phase07-Team02 #855

Open
27 tasks
msmahdinejad opened this issue Aug 7, 2024 · 0 comments
Open
27 tasks

CodeStar1403-SE-Phase07-Team02 #855

msmahdinejad opened this issue Aug 7, 2024 · 0 comments

Comments

@msmahdinejad
Copy link

  • Read the introduction to SQL
  • Understand basic concepts
  • Install required softwares
    • Download PostgreSQL
    • Download Azure Data Studio
    • Install PostgreSQL with default configs
    • Install ADS
    • Run and configure ADS to work with Postgres
    • Create connection to the Postgres instance
  • Create your own database
  • Get familiar with different data types in Postgres
    • Write a suitable data type for each of the fields below:
      • [FILL HERE] for flight time
      • [FILL HERE] for email address
      • [FILL HERE] for a boolean variable
      • [FILL HERE] for stature
  • Store some data
    • Create a table with arbitrary columns with data types you learned in the previous section
    • Insert some sample data into your table
    • Retrieve your data with different SELECT statements and different conditions
    • Try to change at least one of your table columns attributes using ALTER statement
  • Perceive the importance and usage of each key
    • Add primary key constraint to your table
    • Try inserting different values for primary key and check whether it produces error or not
      • Try inserting duplicate primary key. Error [ ]
      • Try inserting NULL primary key. Error [ ]
    • Create a new table which is related to your existing table with a foreign key
    • Try inserting different values for foreign key to produce different errors
      • Try inserting none existing foreign key. Error [ ]
      • Try inserting duplicate foreign key. Error [ ]
      • Try inserting NULL foreign key. Error [ ]
  • Perceive different types of joins
    • Write the corresponding set operation for each join like the given example
      • A Inner Join B : A ∩ B
      • A Left Outer Join B : [FILL HERE]
      • A Right Outer Join B : [FILL HERE]
      • A Full Outer Join B : [FILL HERE]
    • Test different joins on you tables
  • Work with functions
    • Write a query for each present function in the document
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants