Posts

Showing posts from September, 2021

PL/SQL ENVIRONMENT SETUP

Image
  PL/SQL is not a standalone programming language; it is a tool within the Oracle programming environment. P L / SQL is an interactive tool that allows you to type SQL and PL/SQL statements at the command prompt. These commands are then sent to the database for processing. Once the statements are processed, the results are sent back and displayed on screen. You can install Oracle database software to run PL-SQL commands. You can download from the following link : https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html For ORACLE Enterprise Edition Check this link: https://www.tutorialspoint.com/plsql/plsql_environment_setup.htm Or, Go to Google, Type "live sql", then enter oracle Live Sql. Or, You can download XAMPP, or WAMPP server from the following link: https://www.apachefriends.org/index.html You can follow this article for installation process: https://www.wikihow.com/Install-XAMPP-on-Linux After Downloading i

PL-MYSQL BASIC

  WHAT IS DATABASE PROGRAMMING? Software that is used to manage data and information structured as fields, records and files. A database program is the heart of a business information system and provides file creation, data entry, update, query and reporting functions. DATABASE LANGUAGE A Database language has Data Definition Language(DDL), which is used to construct a database. Data Manipulation Language (DML), which is used to access a database. DDL implements database schema at the physical, logical and external level. DML provides the statements to retrieve, modify, insert and delete the data from the database. IS SQL A DATABASE? SQL is Structured Query Language, which is a computer language for storing, manipulating and retrieving data stored in a relational database. All the Relational Database Management Systems(RDBMS) like MySQL, MS Access, Oracle, and SQL server use SQL as their standard database language. SQL Structured Query Language (SQL) is a domain

PL/SQL XAMPP EXAMPLE SET 1

Image
  In this PL/SQL XAMPP EXAMPLE SET 1, You can to learn how to use SQL commands in XAMPP. Here cover DML, Data Insertion, Data Updation, Data Deletion, Data Selection, CREATE, DESCRIBE SCHEMA, INSERT, ADD COLUMN, REMOVE COLUMN, UPDATE, ALTER, PRIMARY KEY, MODIFY, DROP COLUMN, DATATYPE CHANGE, RENAME FIELD, DISTINCT, DELETE RECORD, CLEAR ALL DATA, REMOVE TABLE. There are some preparation notes, links are given below, you might like, Preparation Notes: https://www.shoutcoders.com/sql-preparation-time-note-4/ , https://www.shoutcoders.com/sql-preparation-time-note-3/ , https://www.shoutcoders.com/sql-preparation-time-note-2/ , https://www.shoutcoders.com/sql-preparation-time-note-1/ Oracle Database PL/SQL XAMPP EXAMPLE SET 1 : 1. Create the following table Student {roll, name, address, ph_no, DOB, MA, HS, DOA, Stream, C_num} create table student (Roll int(4), Name varchar(10), Address varchar(20), Ph_num int(10), DOB date, MA int(4), HS int(4), DOA date, Stream var

PL/SQL XAMPP EXAMPLE SET 2

  In this , we are going to learn how to use SQL in XAMPP. Here mainly cover CREATE, FOREIGN KEY ADD, ALTER, INSERT, SELECT, AGE RETRIEVE, TIMESTAMPDIFF, DISTINCT, LIKE, CURDATE, COUNT, SUM, MAX, AND, OR, IN, NOT IN, TRUNC, RENAME OPERATION ,UNION, BETWEEN, NESTED QUERIES. All types are discussed in the given below links, you might like, Preparation Related Notes: https://www.shoutcoders.com/sql-preparation-time-note-4/ , https://www.shoutcoders.com/sql-preparation-time-note-3/ , https://www.shoutcoders.com/sql-preparation-time-note-2/ , https://www.shoutcoders.com/sql-preparation-time-note-1/ PL/SQL XAMPP EXAMPLE SET 2: Create the following table (i) Studies ( P_name, S_place, Course, Cost_no ) create table studies ( P_name varchar(20) primary key, Study_place varchar(20), Course varchar(20), Cost_no int(20)); OUTPUT: Table Created (ii) Programmer ( P_name, DOB, DOJ, Gender, Prof1, Prof2, Sal ). Make P_name as foreign key from Studies relation. create

Oracle Live SQL

Image
  In this article, you are going to learn how to use Oracle Live SQL and how to work with Oracle Database without installing the database. Get instant access to the Oracle Database and learn from a collection of community scripts and tutorials. Write your own SQL scripts and easily share them with others. All you need to get started is your Oracle.com account. Following steps helps you to build your knowledge in SQL. Step 1: Start with a basic structure as given in the following below diagram. Fig: Table Step 2: Learn some basic terminologies i.e. Field, Row, And Column (s). So, it helps you to better understanding. Step 3: Break it into some simple steps, i.e. Create a Table, Make some conditions on attributes (integrity constraints), Inserting values, and Make sure all values are inputted in their proper place. Step 4: There are some queries and you should answer those. Step 5: Commit; After Creating and inserting values because sometimes data is not save

SQL PREPARATION TIME NOTE 1

Image
  This " SQL PREPARATION TIME NOTE 1 " article, covers SQL, SQL Functionalities, RDBMS, select Distinct, select top, select, where, And or operator, order by, semicolon, numeric & text fields. You can achieve a very high degree of knowledge in SQL in a very effective way and it's less time-consuming. There are many DATABASE SYSTEM i.e. MySQL, SQL Server, Access, Oracle, Sybase, DB2, and other database systems. This article is a lengthy one, and cover all syntax and highlights in SQL. Hope you like and share this. PREPARATION for LIFETIME WHAT IS SQL? SQL is an ANSI (American National Standards Institute) standard, there are different versions of the SQL language. SQL stands for Structured English Query Language. Because It follows the syntax structure of English. The original full name of SQL was SEQUEL, which stood for " Structured English Query Language ". Later on it had to be renamed to SQL due to trademark issues. SQL is a

SQL PREPARATION TIME NOTE 2

Image
  In this "SQL PREPARATION TIME NOTE 2" article, You can achieve a very high degree of knowledge in SQL in a very effective way and it's less time-consuming. As with the “SQL PREPARATION TIME NOTE 1” article, this article also has a Teacher table, and with the help of this table, let's continue this lesson. SHORT TIME PREPARATION NOTE Teacher Table Structure ID DESCRIPTION FIRST_NAME LAST_NAME EMAIL PHONE 1 DBMS Alfreds kuster alfredskuster@yahoo.com 572222132 2 C++ Tom Riddle Tomriddle@yahoo.com 454522132 3 DBMS Harry Jonathan harryJonathan@yahoo.com 258656854 4 PYTHON Enrique harn enriqueharn@yahoo.com 452536425 5 C++ Kelvin Mitnick kelvinMitnick@yahoo.com 453656854 6 PYTHON Michael calce Michaelcalce@yahoo.com 487656854 7 - John kart Johncart@yahoo.com 654256854 Teacher Table INSERT INTO You know that everything in the DBMS system done based on data. So, Insertion of data is mandatory. You can insert data into a table using the "INSERT INT

SQL PREPARATION TIME NOTE 3

Image
  As discussed in previous Notes ( i.e. NOTE 1 and NOTE 2 ), SQL PREPARATION TIME NOTE 3 article also helps you to get accurate knowledge. It's a less time-consuming and effective way in preparation time. Here, Considering same Teacher table and Teacher_Account table. So, You can get clear knowledge. SHORT TIME PREPARATION NOTE ID DESCRIPTION FIRST_NAME LAST_NAME EMAIL PHONE 1 DBMS Alfreds kuster alfredskuster@yahoo.com 572222132 2 C++ Tom Riddle Tomriddle@yahoo.com 454522132 3 DBMS Harry Jonathan harryJonathan@yahoo.com 258656854 4 PYTHON Enrique harn enriqueharn@yahoo.com 452536425 5 C++ Kelvin Mitnick kelvinMitnick@yahoo.com 453656854 6 PYTHON Michael calce Michaelcalce@yahoo.com 487656854 7 – John kart Johncart@yahoo.com 654256854 Teacher Table SQL LIKE & NOT LIKE OPERATOR Different from real life LIKE or DISLIKE cases, you can use the LIKE operator in order to get some records but you remember only some specific pattern. The LIKE operator is used w