Code Monkey home page Code Monkey logo

sql-review-with-oracle-mysql's Introduction


Markdownify Markdownify Markdownify

Reviewing SQL with Oracle University, Oracle Database Express, and MySQL

Using Oracle and MySQL to review the basics of SQL and perform: multiple DDL and DML operations, creation of users, permissions, PK, FK, CK, and other basics/complex queries to handle the data. Additionally, I took this course to review the basics of SQL: https://learn.oracle.com/ols/learning-path/mysql-explorer/51871/79674.

InstallationStructureRun itCredits

Installation

  1. Download and Configure Oracle Database Express depending on your operative system: https://www.oracle.com/database/technologies/xe-downloads.html.
  2. Download and Configure MySQL depending on your operative system: https://dev.mysql.com/downloads/mysql/
  3. Clone the repository
# Clone this repository
$ git clone https://github.com/luisfelipe7/SQL-Review-With-Oracle-MySQL/
  1. Go into the repository
# Go into the repository
$ cd SQL-Review-With-Oracle-MySQL

Structure

We have simple scripts in charge of creating tables and performing multiple DML and DDL operations. Both of them perform the same things, but they have some differences because of the syntax on each database:

  1. SQL-Basics-Review-With-Oracle.sql : Script for Oracle Database Express Edition, designed to work with Oracle.
  2. SQL-Basics-Review-With-MySQL.sql : Script for MySQL, designed to work with MySQL.

Here is an image of the simple model that I am using on the database to perform the operations:

Models

Run it

To execute the Oracle Script just follow these steps:

  1. Open the terminal.
  2. Locate in the path of the script:
# Move to the path
$ cd pathOfTheScript
  1. Then, execute this command to enter the Oracle Database:
# Initialize the Oracle Database
$ sqlplus
  1. Enter the user and password.
  2. After that execute the script using:
# Executing the script
$ @SQL-Basics-Review-With-Oracle.sql

You are going to see all the errors and outputs.

To execute the MySQL Script just follow these steps:

  1. Open MySQL Worbench.
  2. Then, open the script using MySQL Workbench: File->Open SQL Script.
  3. Using the lightning bolt located on the interface execute the script.

Credits

Thanks to UNA (Universidad Nacional de Costa Rica) for teaching everything about SQL and Oracle University for the free course to review the basics of SQL.


GitHub @luisfelipe7  · 

sql-review-with-oracle-mysql's People

Contributors

luisfelipe7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.