Home
Search results “Double pl sql oracle”
SQL Double Ampersand Substitution | Oracle SQL fundamentals
 
05:38
Enroll into full course with free cloud access for 30 days: https://dbagenesis.com/p/oracle-sql-fundamentals/
Views: 104 DBA Genesis
Oracle SQL Tutorial 15 - How to Add Primary Key Constraints
 
02:54
The goal of this video is to take the CREATE TABLE statement we have and walk through the different ways to create primary keys. This and foreign keys are the most common constraints, so we need to make sure that you have this one down. Once we have a more complex database design with multiple tables, we will learn the proper way to create foreign keys. For now, I am going to keep all of our constraints at the column level, unnamed. The only exception is the primary key, because that is what we are focusing on in this video. The first way to create the primary key is at the column level, unnamed. The primary key is very important because it what we use to distinguish rows from one another. Every table you create is going to need a primary key, and I suggest putting a lot of effort into making sure your keys are set up correctly and organized. --Delete the table if needed: DROP TABLE users; CREATE TABLE users( user_id NUMBER PRIMARY KEY, username VARCHAR2(50 CHAR) NOT NULL UNIQUE ) The next way is at the column level, but named: --Delete the table: DROP TABLE users; CREATE TABLE users( user_id NUMBER CONSTRAINT users_pk PRIMARY KEY, username VARCHAR2(50 CHAR)NOT NULL UNIQUE ) The general naming convention here is the table name followed by an underscore, followed by pk for primary key. Finally, the third way, which is at the table level, is the way we are going to create our primary key: --Delete the table: DROP TABLE users; CREATE TABLE users( user_id NUMBER, username VARCHAR2(50 CHAR) NOT NULL UNIQUE, CONSTRAINT users_pk PRIMARY KEY (user_id) ) Now, once you've created these constraints, you can use Oracle SQL Developer to find these constraints. Open your databases in the connections tab and find the table in the Tables folder. Double click your table and travel to the Constraints tab. You can tell here that the UNIQUE constraint still exists in this table, but it has a pretty disgusting name. It kind of wants to make me puke. Referencing that constraint in the future with that wacky name would be a burden. Engrave these three options in your head so that you can use any of them whenever you need and can read other peoples' code. Thank you for sticking with the series thus far. In the next video, we will be…doing something. See you then! :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me on Patreon! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 18380 Caleb Curry
Oracle SQL: Understanding Multiple Table Joins
 
08:10
http://www.informit.com/store/oracle-sql-livelessons-video-training-downloadable-9780134275741?WT.mc_id=Social_YT Oracle SQL: Understanding Multiple Table Joins is an excerpt from Oracle SQL LiveLessons Video Training -- 6+ Hours of Video -- Oracle SQL LiveLessons Video Training covers the basics of the Oracle SQL programming language. This course covers both Oracle standard SQL and the ANSI approved SQL that Oracle supports. The focus of the course is to give students working knowledge of the Oracle SQL language and at the conclusion of this course, students should be able to query the Oracle database. Description In this LiveLessons video course, Oracle ACE Director Dan Hotka will teach you how to use the SQL query language, interpret business questions into SQL code, and how to use Where clauses sub-queries, complex table join conditions, and how to create table objects and populate tables with data. Students will also learn how to access Oracle from Microsoft products such as Excel. In addition, they will learn how analytical SQL can be used for business analysis. This course will use both Toad and SQL Developer for SQL examples. About the Instructor Dan Hotka is a training specialist and an Oracle ACE director who has more than 37 years in the computer industry and more than 31 years of experience with Oracle products. His experience with the Oracle RDBMS dates back to the Oracle V4.0 days. Dan enjoys sharing his knowledge of the Oracle RDBMS. Dan is well published with 12 Oracle books and well over 200 published articles. He is also the video author for Oracle SQL Performance Tuning for Developers LiveLessons and Oracle PL/SQL Programming Fundamentals. He is frequently published in Oracle trade journals, regularly blogs, and speaks at Oracle conferences and user groups around the world. Visit his website at www.DanHotka.com. Skill Level Beginner Learn How To Use the SQL query language Interpret business questions into SQL code Understand Oracle standard SQL and ANSI SQL Work with Where clauses, sub-queries, and complex table join conditions Create table objects and populate these tables with data Access Oracle from Microsoft products such as Excel Use analytical SQL, useful for business analysts Who Should Take This Course Students who are new to SQL and want to learn Oracle SQL Course Requirements Basic knowledge of what is a database, especially RDBMS and what is a computer programming language http://www.informit.com/store/oracle-sql-livelessons-video-training-downloadable-9780134275741?WT.mc_id=Social_YT
Views: 15841 LiveLessons
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
 
08:36
Oracle Database11g tutorials 14 How to Create table using command prompt and Create table using sql developer Blog Link http://bit.ly/1TkY4Oe Time Line 0:25 Introduction of Tables in Database 1:03 What is Create Table (Introduction of create table) 1:30 Syntax of Create Table 2:08 How to create table using Command Prompt 4:55 How to create table using SQL Developer Links for Oracle Database tutorials 4: database connectivity using SQL developer and command prompt http://youtu.be/wSqoXRlXDUU You can have indepth knowledge about SQL create table here http://www.rebellionrider.com/sql-create-table.html Tool used in this tutorial is command prompt. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com Today in this oracle database tutorial we will see How to CREATE A TABLE. if we have to define a table in layman language then we can say that Tables are just a collection of Rows and Columns but In RDBMS tables are database objects which help in organizing data into ROWS and COLUMNS. We can also say that SQL tables are kind of data structure which are used by database for efficient storage of data. To create a table in our database we use SQL CREATE TABLE command. SQL CREATE TABLE is a type of DATA DEFINITION LANGUAGE also known as DDL. To Create a table in your schema you will require CREATE TABLE system privilege. In our future videos we will see what are system and object privileges and how to grant them to a user. Today for this video we will be using Sample schema HR which already has all the necessary privileges. Ohk Let's see the syntax. CREATE TABLE table name ( column name1 Data-Type(size), column name2 Data-Type(size), ..... ); CREATE TABLE is an oracle reserved word or say an Oracle key word whereas There are 3 different ways of creating a table in Oracle database. Creating a table using Command Line Interface (CLI) in Oracle database For demonstrating how to create table in oracle database using CLI, I'll be using Command prompt. Thats how we create table using command prompt. you can check your table structure by DESCRIBE command for that just write DESC and your table name. Like this Another way of creating a table is by using Graphic user interface (GUI) in Oracle database To demonstrate how to create table using GUI we will use SQL developer. Lets open our SQL developer I am connected to HR schema if you do not know how to create a connection to database using SQL developer please watch my oracle database tutorial 4 that explains database connectivity using SQL developer and command prompt. Link for this video is in the description below. So lets create a table. Creating a table using SQL developer is very easy we do not have to fire any query here. Let's start First of all right click on your connection in which you want to create a table and choose schema browser. This will open a separate schema browser pane or you can expend your connection by clicking this + sign and then right click on table and choose New Table. However I prefer working with schema browser so let's skip to schema browser pane here from the first drop-down list you can choose connection name and in the second drop down list you can choose what database objects you want to work with we want to create a table thus I'll choose table and then click this arrow here and choose option for new table Ok we have created a table wizard first of all give a unique name to your table and add some column as well. For this, click the green plus button. Now we already have a column so give it some name. Also choose a datatype from the list and specify any size you can check this not null column if in case you want to make this a mandatory column you can also specify default value and constraint If you want to make this column a primary key you can click here In my future video i'll show you what are these constraints and different ways of applying them on a column in a table. for this video we will concentrate on create table only so when you are done with all your columns click ok Thats your table You can double click on your table here and can see its structure. Thats it
Views: 192417 Manish Sharma
oracle sqlloader purpose of optionally enclosed by double quotes
 
12:59
Oracle SQL PLSQL and Unix Shell Scripting
Views: 255 Sridhar Raghavan
GROUP BY with Multiple Columns (Introduction to Oracle SQL)
 
04:03
Learn how to group with multiple columns using GROUP BY in SQL. The full Introduction to Oracle SQL course is available here: https://www.databasestar.com/introduction-to-oracle-sql-course/
Views: 3295 Database Star
PL/SQL tutorial 83: Create Table with Execute Immediate of Native Dynamic SQL
 
06:29
Learn how to write a CREATE TABLE DDL properly for Execute Immediate of Native Dynamic SQL by Manish Sharma from RebllionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/nds-4 Previous Tutorial ► Primary Key http://bit.ly/primary-key ► Concatenate operator http://bit.ly/sql-concat-function ► ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 4463 Manish Sharma
014-Oracle SQL 12c: Substitution variables part 1
 
08:27
تعلم اوراكل حتى الاحتراف تعلم اوراكل من الصفر
Views: 6135 khaled alkhudari
ORACLE SQL- 8. double ampersand
 
04:13
insead of repeating the same value always we can make it as a fixed value using double ampersand
Views: 1120 Ban3 GaiN
Oracle SQL Tutorial 33 - NUMBER Data Type
 
07:18
This video we are going to discuss the NUMBER data type. The Number data type is used to store integers, and real numbers. When you create a column as a NUMBER, you can store pretty huge or pretty small numbers in this column. Now there are two things you need to consider when working with numbers, and that is the precision as well as the how big the number is. For example, we can store the number 9.9. This has two significant digits. We could also store the number 9.9 X 10^4. In this situation, the number is much larger, but the number of significant digits is the same. 9.9 are the significant digits. When we expand this out we just have 99000, and the zeros are just used for size and are not considered "significant" in this situation. In fact, you get a max precision of 38, but a maximum value of 9.99 * 10^125. You can also use this data type to store very small numbers. Check the docs for the specifics on maximums and minimums. You can provide it with two pieces of information: Precision - The total number of digits. Scale - The number of digits to the right of the decimal. You do it in this format: NUMBER (precision, scale). The important thing to remember in this is that when you specify a precision, you will be limiting the max size of the numbers. The secret behind this data type is that it is actually stored in scientific notation. That is we store a number and then we can multiply it by 10 raised to some power. This allows us to store much larger numbers without taking up a ton of space. The oracle docs actually gives a formula that you can use to see how much storage is going to be required for a specific NUMBER data type. How much precision can be used? The acceptable range is 1-38. What about scale? The range is actually -84 to 127. I'll explain the scale in more detail in an upcoming video. That's because there is a lot of confusing things here…What does it mean for the scale to be negative? How can we have a scale that is bigger that the total number of digits available through the precision. That's a topic for another video. It's important to understand that when we increase our scale, we decrease the max size of the number. For example if we have a precision of 5 and a scale of 3, the highest number we can store is 99.999. This is in contrast to a precision of 5 and a scale of 2 which allows for up to 99.999. Either way you get 5 significant digits, but the numbers of digits to the left and right of the decimal change. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 9522 Caleb Curry
SQL 12c Tutorial 8 : SQL Substitution variables
 
05:51
SQL 12c Tutorial 8 : SQL Substitution variables SQL 12c Tutorial Oracle SQL Tutorial for beginners
Views: 1174 TechLake
Oracle SQL Tutorial 13 - How to Add Column Constraints (Attributes)
 
05:55
So far, we have this table declaration: CREATE TABLE users( user_id NUMBER, username VARCHAR(50 CHAR) first_name VARCHAR2(50 CHAR), last_name VARCHAR2(50 CHAR) ) We can run this command see that it works. As we are learning though, we are going to want to be able to recreate our table with different settings and such, but if you try to run this command, it will complain that the table already exists. So we first need to delete this table before we start editing settings. When we get more experienced, we will learn about ways to edit the structure of a table that already exists. To fix this, we can get rid of the table using the DROP TABLE command: DROP TABLE users You can run this every time if you need to practice by adding a semicolon after it. This is how you can tell Oracle that you are putting in another command after it. This is known as a delimiter. When you run the script, it is going to run both commands. Now we can go through and reconsider our table structure. This is fine for starting out because we don't have any important data in our database, but once your database is in production you are not going to want to just drop tables. In the last video we discussed different constraints that you can apply to columns in a database table, but how do you actually apply these when you are creating a table? The first way you define constraints is to put them right after the column in your CREATE TABLE statement. CREATE TABLE users( username VARCHAR2(50 CHAR) NOT NULL ) When we define constraints this way, we usually say we are adding column attributes. If you have two constraints you want to add, you just put one after the other with spaces in between. There is no particular order that is required. CREATE TABLE users( username VARCHAR2(50 CHAR) NOT NULL UNIQUE ) In this situation we have already given the column the NOT NULL and UNIQUE attributes, so we should consider making this a primary key: CREATE TABLE users( username VARCHAR2(50 CHAR) PRIMARY KEY ) As you can see, adding column attributes is super easy. We can add a default like this: CREATE TABLE users( username VARCHAR2(50 CHAR) PRIMARY KEY, account_balance NUMBER DEFAULT 0 ) Note that now we need the comma after the first row. There are a few constraints we did not talk go through an example, specifically foreign keys and check constraints. We will be adding these constraints to our database in future videos. In the mean time, I have a thought for you… Many people prefer to name their column constraints. That way, we can refer to certain constraints by name. For example, we might have a primary key constraint that could be named users_pk. The way we are creating these constraints does not allow for this feature, so in the next video we are going to be discussing different ways to create constraints. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me on Patreon! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 25801 Caleb Curry
Oracle Database11g tutorials 6 | | How to use Concatenation operator, character String
 
06:35
How to use concatenation operator for combining the output of two or more columns and how to use literal character string This SQL tutorial and Oracle database 11g tutorial for beginners will show How to use concatenation operator for combining the output of two or more columns and how to use literal character string Tool used in this tutorial is SQL developer. This tutorial series is part of SQL expert exam certification training. If you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 You can download the Script which is used in this SQL tutorial from this link https://copy.com/XoSlBjq7yRzn Contacts Email [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/RebellionRider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos This is Manish from The Code makers
Views: 138125 Manish Sharma
PL-SQL tutorial 13 - TABLE OF ANY NUMBER
 
09:39
hi guys today i am going to show you how to manipulate or represent table of any number,Oracle database Unbeatable,Unbreakable #TABLEOFANYNUMBER Platform..
Views: 397 Oracle World
PL/SQL tutorial 13: PL/SQL FOR Loop In Oracle Database by Manish Sharma RebellionRider.com
 
06:14
3rd and the last tutorial in Iterative/loop statement in Oracle PL/SQL series explaining concepts of FOR loop with examples by Manish Sharma RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/numeric-for-loop-in-pl-sql Previous Tutorial ► While Loop https://youtu.be/IIlc4Sr7kFE ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 62368 Manish Sharma
ORACLE SQL- 7. single ampersand
 
03:40
it will show you how to insert a value into from the command window as may as you like now worrie. if you use a single ampersand process it will be easy way to insert no need of repeated typing
Views: 913 Ban3 GaiN
Steven Feuerstein Oracle PL/SQL Best Practices: Introduction
 
04:02
We're always talking about best practice this, best practice that...well, this free tutorial teaches you what you should never do when writing programs in Oracle PL/SQL. The advice ranges from attention to the smallest details, such as the problem with VARCHAR2(n) declarations to ways that we write SQL statements in our PL/SQL programs. Attendees of the webcast will come away with a deeper appreciation for the traps into which we can fall, and how to climb on out and bask in the sunshine of high quality code. (See all our free tutorials here - http://www.skillbuilders.com/free-oracle-tutorials) Your instructor, Steven Feuerstein,Oracle ACE Director Steven Feuerstein is an expert on the Oracle PL/SQL language, having written 10 books on PL/SQL, including Oracle PL/SQL Programming and Oracle PL/SQL Best Practices. He is Quest Software's PL/SQL Evangelist and has been developing software since 1980. He's twice received the Oracle Magazine PL/SQL Developer of the Year award and was the first recipient in 2009 of ODTUG's Lifetime Achievement award. See more of Steven's content here http://www.stevenfeuerstein.com/.
Views: 1531 SkillBuilders
Hierarchical Queries: Databases for Developers #16
 
09:38
Often data contains a parent-child relationship between rows in the same table. For example, company org charts and family trees. You can use the power of SQL to traverse these hierarchical relationships. There are two ways to do this in Oracle Database: - Connect By - Recursive With Watch this video to learn about data trees and find out how these work! Further reading: Hierarchical queries in the docs: https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Hierarchical-Queries.html#GUID-0118DF1D-B9A9-41EB-8556-C6E7D6A5A84E Recursive subquery factoring in 11.2: https://oracle-base.com/articles/11g/recursive-subquery-factoring-11gr2 Take the course! https://devgym.oracle.com/pls/apex/dg/class/databases-for-developers-next-level.html Need help with SQL? Ask us over on AskTOM: https://asktom.oracle.com Twitter: https://twitter.com/ChrisRSaxon Daily SQL Twitter tips: https://twitter.com/SQLDaily All Things SQL blog: https://blogs.oracle.com/sql/ ============================ The Magic of SQL with Chris Saxon Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Views: 5996 The Magic of SQL
How to Join two tables in a update statement
 
07:18
This video is to understand how we can update a column of a table, based on the data present on the other table, and both the tables having a common column. Its a complicated update statement that can be used to update with different conditions.
Views: 10481 Kishan Mashru
Querying Multiple Tables with SQL
 
10:40
Demonstration of how to query two or more tables with SQL Server.
Views: 49355 Larry Domine
PL/SQL tutorial 85: Execute Immediate with Using Clause in Native Dynamic SQL by Manish Sharma
 
08:45
In this tutorial, we have Bind Variable, Using clause and Execute Immediate of Native Dynamic SQL. Go ahead and learn How to use bind variable by applying using clause of execute immediate of Dynamic SQL by Manish Sharma from RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/nds-6 Previous Tutorial ► Must Read Before Taking 1Z0-061 Oracle Database 12c SQL Fundamentals Exam. https://www.facebook.com/notes/manish-sharma/must-read-before-taking-1z0-061-oracle-database-12c-sql-fundamentals-exam/470058480064194/ ► Bind Variable https://youtu.be/TJtjo3FTBtE ► Create Table DDL with Dynamic SQL https://youtu.be/dl39itjrWYw ► Insert DML https://youtu.be/uQXgqFtxI_k ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 4020 Manish Sharma
SQL Tutorial 12 Advanced Subqueries returning multiple columns
 
14:22
SQL Tutorial on Advanced Subqueries returning multiple columns Check out our website: http://www.telusko.com Follow Telusko on Twitter: https://twitter.com/navinreddy20 Follow on Facebook: Telusko : https://www.facebook.com/teluskolearnings Navin Reddy : https://www.facebook.com/navintelusko Follow Navin Reddy on Instagram: https://www.instagram.com/navinreddy20 Subscribe to our other channel: Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ?sub_confirmation=1 Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw?sub_confirmation=1
Views: 75357 Telusko
SQL JOINing Multiple Tables
 
11:03
Jamie King of Neumont University demonstrating how to join several tables together.
Views: 141681 Jamie King
UTL FILE READ DATA AND INSERT INTO TABLE WITHOUT SQLLOADER
 
09:06
Oracle SQL PLSQL and Unix Shell Scripting
Views: 4847 Sridhar Raghavan
How to Join 3 tables in 1 SQL query
 
04:59
Get your first month on the Joes 2 Pros Academy for just $1 with code YOUTUBE1. Visit http://www.joes2pros.com Offer expires July 1, 2015 From the newly released 2 Disc DVD set (SQL Queries Joes 2 Pros Vol2) this video shows how to join 3 tables in 1 query.
Views: 270812 Joes2Pros SQL Trainings
Double Ampersand in Substitution Variable: SQL Tutorial 25
 
00:28
Please watch: "Install Oracle Database 12c Release 2 on Windows 10 Professional 64 bit" https://www.youtube.com/watch?v=5705VFJmku0 -~-~~-~~~-~~-~-
Views: 147 Solution Wizard
SQL Developer: Install and configure SQL Developer on windows | How to install SQL Developer
 
15:52
How to install Oracle SQL Developer in Windows 7 Oracle 11g Express & SQL Developer Install How to Download and Install Oracle SqlDeveloper Install and Configure Oracle SQL Developer on Windows Follow me: https://www.facebook.com/munir.du https://twitter.com/munir_du https://www.linkedin.com/in/md-munir-hussain Contact me: [email protected] How to configure SQL Developer on windows ----------------------------------------------------------------------- Oracle SQL Developer is a free integrated development environment that simplifies the development and management of Oracle Database in both traditional and Cloud deployments. SQL Developer offers complete end-to-end development of your PL/SQL applications, a worksheet for running queries and scripts, a DBA console for managing the database, a reports interface, a complete data modeling solution, and a migration platform for moving your 3rd party databases to Oracle. SQL Developer supports Oracle Database 10g, 11g, and 12c More details: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html Requirements for SQL Developer: a. Oracle database 10g or 11g or 12c b. JDK8 or above To download and synchronize SQL Developer 4.1.3 on windows using the following steps: At first, Install JDK8 Download required (32/64 as per your system) JDK8 from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Extract sqldeveloper-4.1.3.20.78-no-jre Download SQL Developer from: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html Now, copy this folder named sqldeveloper Then copy to Oracle home directory Open this folder Create shortcut for SQL Developer: Right click on sqldeveloper.exe Then send to desktop(create shortcut) To configure: Run SQL Developer by double clicking You need to a connection: Click on green plus (+)sign for connection Enter following information: Connection name: your connection name like HR Username: hr (your username) Password: hr (your password) Click on Save Password check box Hostname: localhost (my database is install in this machine only, so my host name is localhost.) Port: 1521 (default port number) SID: xe (global database name or your ORACLE_SID) Click on Test button for testing and debugging above information Click on Save than Connect button for connection, if your test status is success. That’s it. Thanks for linking, commenting, sharing and watching more of our videos.
Views: 22227 Leen's Tech
EXIST Function in SQL
 
08:04
Join Discussion: http://www.techtud.com/video-lecture/exist-function-sql IMPORTANT LINKS: 1) Official Website: http://www.techtud.com/ 2) Virtual GATE: http://virtualgate.in/login/index.php Both of the above mentioned platforms are COMPLETELY FREE, so feel free to Explore, Learn, Practice & Share! Our Social Media Links: Facebook Page: https://www.facebook.com/techtuduniversity Facebook Group: https://www.facebook.com/groups/virtualgate Google+ Page: https://plus.google.com/+techtud/posts Last but not the least, SUBSCRIBE our YouTube channel to stay updated about the regularly uploaded new videos.
Views: 41375 Techtud
PL/SQL tutorial 25: How To Uninstall Oracle Database 11g From Windows 10 64 bit
 
07:52
Learn How To properly Uninstall Oracle Database 11g From Windows 10 64 bit manually without formatting your computer By Manish Sharma at RebellionRider.com Path For Start Menu Entry C:\ProgramData\Microsoft\Windows\Start Menu\Programs ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/uninstall-oracle-11g-from-win-10 How To Write Killer LinkedIn Summary http://bit.ly/write-killer-linkedin-summary Previous Tutorial ► How To Install 11g on windows 10: https://youtu.be/d_CyuCLC3Ls ► How To Install 12c On Windows 10: https://youtu.be/vAUNgaYJSw0 ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 99402 Manish Sharma
How to include a single quote in a SQL query
 
06:14
In this video we learn how to include a single quote in our SQL text by "escaping" the quote. In SQL server single quotes are used to mark the beginning and end of a text string. However, if your text contains single quote, that poses an problem, if it is left alone it will be treated like a delimiter.
Views: 3863 Kris Wenzel
PL/SQL tutorial 86: Multiple Bind Variable with Execute Immediate of Dynamic SQL By Manish Sharma
 
12:29
Manish Sharma from RebellionRider.com presents how to use multiple bind variables by applying using clause of execute immediate statement in native dynamic SQL. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/nds-7 Previous Tutorial ► PL/SQL tutorial 45 https://youtu.be/byGweJ3tBLo ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 4248 Manish Sharma
Oracle SQL Data Conversion-Implicit Explicit
 
19:23
Oracle SQL Data Conversion Implicit Explicit Online console used -- https://livesql.oracle.com Implicit and Explicit data conversion to_char, to_number, to_date and cast functions Queries: /*IMPLICIT DATA CONVERSION EXAMPLES*/ SELECT salary + '10' FROM hr.employees; SELECT last_name FROM hr.employees WHERE employee_id = '200'; SELECT last_name FROM hr.employees WHERE employee_id = 200; SELECT last_name FROM hr.employees WHERE hire_date = '03-MAR-97'; Create table birth(name varchar2(15), dob date); Insert into birth values ('nids', '12/jan/58'); Insert into birth values ('panda', '14/feb/48'); Insert into birth values ('Spider', '14/feb/1958'); Insert into birth values ('agnes', '14/feb/2048'); Select * from birth; SELECT to_date('12-jan-58') - to_date('14-feb-48') from DUAL; '01/01/2058','MM/DD/RRRR' 01/01/2058 '01/01/2048','MM/DD/RRRR' 01/01/2048 '01/01/48','MM/DD/RRRR' 01/01/2048 '01/01/58','MM/DD/RRRR' 1/01/1958 '01/01/48','MM/DD/YYYY' 01/01/0048 '01/01/58','MM/DD/YYYY' 01/01/0058 '01/01/58','MM/DD/YY' 01/01/2058 '01/01/48','MM/DD/YY' 01/01/2048 SELECT * FROM NLS_SESSION_PARAMETERS WHERE PARAMETER = 'NLS_DATE_FORMAT'; Alter session set nls_date_format = 'DD-MM-RRRR'; Select * from birth; alter session set nls_date_format = 'DD-MON-YYYY'; Select * from birth; ALTER session set nls_date_format = 'DD-MON-YY'; SELECT to_date('12-jan-58') - to_date('14-feb-48') from DUAL; ALTER session set nls_date_format = 'DD-MON-RR'; /*EXPLICIT DATA CONVERSION EXAMPLES*/ /*TO_CHAR, TO_DATE, TO_NUMBER*/ SELECT first_name, TO_CHAR (hire_date, 'MON DD, YYYY') HIRE_DATE, TO_CHAR (salary, '$99999.99') Salary FROM hr.employees; SELECT TO_CHAR('01110') FROM DUAL; SELECT TO_CHAR('01110' + 1) FROM DUAL; SELECT TO_DATE('2012-06-05', 'YYYY-MM-DD') FROM dual; SELECT TO_DATE( '5 Jan 2017', 'DD MON YYYY' ) FROM dual; SELECT TO_NUMBER('1210.73', '9999.99') from DUAL; SELECT TO_NUMBER('$65.169', 'L99.999') FROM DUAL; SELECT TO_NUMBER('123,456,789', '999,999,999') FROM DUAL; /*This example takes a complicated string, determines that it is in certain format, and specifies the numeric characters to use*/ SELECT TO_NUMBER('$17 218,00', 'L999G999D00',' NLS_NUMERIC_CHARACTERS='', ''') FROM DUAL; /*CAST*/ SELECT CAST( '22-Aug-2003' AS varchar2(30) ) from dual; SELECT CAST('245.205' AS NUMBER(5,2)) FROM dual; /*      -- Result: 245.21 (note that the value is rounded, not truncated to 245.20) */ SELECT CAST(245.205 AS NUMBER(5,2)) FROM dual; SELECT CAST ('123456' AS NUMBER) + 5 FROM DUAL; SELECT CAST ('5.05.2017' AS DATE) +5 FROM DUAL; /*check the default date format. That's why it give error*/ SELECT CAST ('30-APRIL-2015' AS DATE) +5 FROM DUAL; SELECT CAST (SYSDATE AS TIMESTAMP) FROM DUAL; SELECT SYSDATE FROM DUAL;
Views: 295 Nids Dixit
SQL Single Ampersand substitution example | Oracle SQL fundamentals
 
03:58
Enroll into full course with free cloud access for 30 days: https://dbagenesis.com/p/oracle-sql-fundamentals/
Views: 52 DBA Genesis
122. How to Join Tables in SQL (Hindi)
 
04:14
Please Subscribe Channel Like, Share and Comment Visit : www.geekyshows.com
Views: 54462 Geeky Shows
How to Delete the Duplicate Records in oracle
 
03:44
http://oracletemple.blogspot.in/ How to Delete the duplicate records How delete the duplicate rows ? Tips: - Always take extra caution while deleting records. 1. First identify the duplicates using select. 2. Double verify those are actual ‘duplicates’ or not 3. Take backup if necessary 4. Apply commit only if you are sure. -~-~~-~~~-~~-~- Please watch: "difference between delete and truncate" https://www.youtube.com/watch?v=7b6wQ3Qumgg -~-~~-~~~-~~-~- ------------------------------------------------------------------ Below is link for Useful Pl/SQL Books http://goo.gl/XMy0tt ---------------------------------------------------------- Watch More... What is Parameterized Cursor in Oracle https://www.youtube.com/watch?v=JMKwHlVi6-A What is autonomous transaction in Oracle. https://www.youtube.com/watch?v=gyvFajpfoWE What are Constraints available in Oracle. https://www.youtube.com/watch?v=WivhdLXQklQ What is Mutation Error and How to avoid mutation. https://www.youtube.com/watch?v=CbWNCyW18Bs 5 Effective way to delete Duplicate rows https://www.youtube.com/watch?v=1wtTtnc87Oc What is Difference between Delete and Truncate https://www.youtube.com/watch?v=7b6wQ3Qumgg
Views: 24703 Ram Gupta
SQL Developer: How to install and configure SQL Developer 18.2 on windows
 
13:15
How to install Oracle SQL Developer in Windows 7 Oracle 11g Express & SQL Developer Install How to Download and Install Oracle SqlDeveloper Install and Configure Oracle SQL Developer on Windows Follow me: https://www.facebook.com/munir.du https://twitter.com/munir_du https://www.linkedin.com/in/md-munir-hussain Contact me: [email protected] How to configure SQL Developer on windows ----------------------------------------------------------------------- Oracle SQL Developer is a free integrated development environment that simplifies the development and management of Oracle Database in both traditional and Cloud deployments. SQL Developer offers complete end-to-end development of your PL/SQL applications, a worksheet for running queries and scripts, a DBA console for managing the database, a reports interface, a complete data modeling solution, and a migration platform for moving your 3rd party databases to Oracle. SQL Developer supports Oracle Database 10g, 11g, and 12c More details: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html Requirements for SQL Developer: a. Oracle database 10g or 11g or 12c b. JDK8 or above To download and synchronize SQL Developer 18.2 on windows using the following steps: At first, Install JDK8 Download required (32/64 as per your system) JDK8 from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Extract sqldeveloper-18.2-no-jre Download SQL Developer from: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html Now, copy this folder named sqldeveloper Then copy to Oracle home directory Open this folder Create shortcut for SQL Developer: Right click on sqldeveloper.exe Then send to desktop(create shortcut) To configure: Run SQL Developer by double clicking You need to a connection: Click on green plus (+)sign for connection Enter following information: Connection name: your connection name like HR Username: hr (your username) Password: hr (your password) Click on Save Password check box Hostname: localhost (my database is install in this machine only, so my host name is localhost.) Port: 1521 (default port number) SID: xe (global database name or your ORACLE_SID) Click on Test button for testing and debugging above information Click on Save than Connect button for connection, if your test status is success. That’s it. Thanks for linking, commenting, sharing and watching more of our videos.
Views: 2103 Leen's Tech
How to install Oracle SQL Developer in Windows 7 - Database Tutorial 49 - Oracle DBA tutorial
 
11:12
Video 49 How to install Oracle SQL Developer in Windows 7 How to install Oracle SQL Developer in Windows 7 - Database Tutorial 49 - Oracle DBA tutorial. This video explains about 'How to install Oracle SQL Developer in Windows 7 The concept is as follows: Download the SQL Developer Software from Oracle's website You would need to have an account with Oracle. If you do not have one, you can create one for free. After the download, install it. Install it in any folder that you prefer. During the installation, it will ask for the location of your JDK (Java Development Kit) files Generally you will find the JDK files under a folder that starts with JDK. And that folder will be in C:\Program Files\Java If you do not have one, follow the method explained in the video to download and install JDK Once the installation of JDK is complete, then complete the SQL Developer installation too. Then copy the files tnsnames.ora and sqlnet.ora from your ORACLE_HOME\NETWORK\ADMIN folder, where ORACLE_HOME is the folder where you installed the Oracle Software. For example, in this video, ORACLE_HOME is C:\app\sam\product\11.2.0\dbhome_1 So, I went to C:\app\sam\product\11.2.0\dbhome_1\NETWORK\ADMIN There I found the files tnsnames.ora and sqlnet.ora I copied them to C:\Users\sam\Downloads\Oracle 11g\sqldeveloper64-3.2.20.09.87-no-jre\sqldeveloper folder, where I have installed SQL Developer. Stay in the folder, C:\Users\sam\Downloads\Oracle 11g\sqldeveloper64-3.2.20.09.87-no-jre\sqldeveloper. Then invoke SQL Developer by double clicking, sqldeveloper.exe file. This will open SQL Developer application.
Views: 120895 Sam Dhanasekaran
Oracle SQL Tutorial 20 - How to Create Composite Primary Keys
 
07:02
This video is going to be a tutorial on how to create composite and compound keys. The difference between a composite and compound key is that a composite key can consist of any columns while a compound key has to consist of columns that are all keys themselves. We will be working with a compound key because we are going to be using the an intermediary table that has two foreign keys. The combination of both of the keys have to be unique. First, if we have any other CREATE TABLE commands, we are going to comment those out. We will space out the CREATE TABLE to have each column on a line, then we will add constraints as needed. CREATE TABLE project_users( project_id, user_id ) Now, let's add the data types: CREATE TABLE project_users( project_id NUMBER, user_id NUMBER } Now, what about some column attributes? I'm going to make both of the columns NOT NULL because we always want the rows to have a user and a project: CREATE TABLE project_users( project_id NUMBER NOT NULL, user_id NUMBER NOT NULL } Now, let's add the foreign key constraints. Now, what do we name these? We are going to add a primary key that covers both of these columns, so I'm going to be a sinner and not give these constraints names: CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id), user_id NUMBER NOT NULL REFFERENCES users (user_id) ) Now, the way we have it now is that if we delete a project in the project table, and there are any rows in the project_users table, it will throw an error and prevent deletion. I would prefer for it to also delete any project members. That would make sense because if you delete a project we want it to delete the associate between that project and certain users. The same goes for if we delete a user, we want their association with a certain project to be deleted. To do this, we need to add the ON DELETE command: CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id) ON DELETE CASCADE, user_id NUMBER NOT NULL REFERENCES users (user_id) ON DELETE CASCADE, ) Finally, let's learn how to create a compound or composite key. literally, the only difference is that you put a comma and add the second table inside of the parenthesis. CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id) ON DELETE CASCADE, user_id NUMBER NOT NULL REFERENCES users (user_id) ON DELETE CASCADE, CONSTRAINT project_users_pk PRIMARY KEY (project_id, user_id) ) Now, the combination of project_id and user_id cannot be null, is always unique, and has an index. The only thing we should do now is add a few indexes. We aren't done yet...In the next video we are going to figure out what columns would benefit from indexes and we'll add them to it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 13490 Caleb Curry
Let's Learn SQL! Lesson 82 : EXIST and NOT EXIST Subqueries
 
03:37
Explore SQL with Tom Coffing of Coffing Data Warehousing! In this lesson, learn about EXIST and NOT EXIST Subqueries!
SQL Developer 3.1 - Database Copy
 
04:55
This demonstration will show how to copy objects and data from one database to another. This video is part of the SQL Developer Release 3.1 New Features series. --------------------------------------------------------------------- Copyright © 2012 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.
PL/SQL tutorial 52: How To Create Nested table as Database Object by Manish Sharma
 
07:54
RebellionRider.com presents PL/SQL Tutorial on How To Create permanent Nested Table Type Collection based on primitive datatype in Oracle Database by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/nested-table Previous Tutorial ► Nested table in PL/SQL Block https://youtu.be/EUYyiFCzU0I ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 25379 Manish Sharma
Stored procedures in sql server   Part 18
 
20:11
In this video we will learn 1. What is a stored procedure 2. Stored Procedure example 3. Creating a stored procedure with parameters 4. Altering SP 5. Viewing the text of the SP 6. Dropping the SP 7. Encrypting stored procedure Text version of the video http://csharp-video-tutorials.blogspot.com/2012/08/stored-procedures-part-18.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-18-stored-procedures.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 802101 kudvenkat
Using substitution (&, &&)  variable. in Hindi.
 
05:38
In this video we are continuing with chapter 2.
Views: 2647 OCP Technology
Install and configure sql developer on Linux | Oracle Tutorial
 
05:28
How to Install SQL Developer on Linux 1) Download for the below link http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html 2) Make sure you have Java Development Kit installed with latest version. http://www.oracle.com/technetwork/java/javase/downloads/index.html 3) Install SQL developer as rpm -ihv sqldeveloper-xxx.noarch.rpm (replace xxx with exact version of your SQL developer) Run SQL developer on linux command prompt as $ sqldeveloper 4) Create a new connection to connect to user Technology Lair : www.technologylair.org Subscribe : http://www.youtube.com/subscription_center?add_user=technologylair For More Videos : http://www.youtube.com/user/technologylair/videos For Video Tutorials :http://www.youtube.com/playlist?list=PLC71CFFF7A916DCAA For Android : http://www.youtube.com/playlist?list=PLUXK1VpPWQKHI1l-NvM5jvNKKnmNy9eHp For Linux : https://www.youtube.com/playlist?list=PLUXK1VpPWQKHV2xOmjQgUNj3Hrmcslj-H Kalam e Iqbal : http://www.youtube.com/playlist?list=PLF057785BD260F061 Like us on Facebook : https://www.facebook.com/technologylair Tweet us : http://twitter.com/technologylair Follow us : https://plus.google.com/u/0/118196883367288585963/posts Pin us : http://www.pinterest.com/technologylair/
Views: 27278 TechLair
Part 2   SQL query to get organization hierarchy
 
10:14
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/05/part-2-sql-query-to-get-organization.html To get the best out of this video, the following concepts need to be understood first. These are already discussed in SQL Server Tutorial. 1. Self-Join - http://www.youtube.com/watch?v=qnYSN_7qwgg 2. CTE - http://www.youtube.com/watch?v=ZXB5b-7HJHk 3. Recursive CTE - http://www.youtube.com/watch?v=GGoV0wTMCg0 Here is the problem definition: 1. Employees table contains the following columns a) EmployeeId, b) EmployeeName c) ManagerId 2. If an EmployeeId is passed, the query should list down the entire organization hierarchy i.e who is the manager of the EmployeeId passed and who is managers manager and so on till full hierarchy is listed. For example, Scenario 1: If we pass David's EmployeeId to the query, then it should display the organization hierarchy starting from David. Scenario 2: If we pass Lara's EmployeeId to the query, then it should display the organization hierarchy starting from Lara. We will be Employees table for this demo. SQL to create and populate Employees table with test data Create table Employees ( EmployeeID int primary key identity, EmployeeName nvarchar(50), ManagerID int foreign key references Employees(EmployeeID) ) GO Insert into Employees values ('John', NULL) Insert into Employees values ('Mark', NULL) Insert into Employees values ('Steve', NULL) Insert into Employees values ('Tom', NULL) Insert into Employees values ('Lara', NULL) Insert into Employees values ('Simon', NULL) Insert into Employees values ('David', NULL) Insert into Employees values ('Ben', NULL) Insert into Employees values ('Stacy', NULL) Insert into Employees values ('Sam', NULL) GO Update Employees Set ManagerID = 8 Where EmployeeName IN ('Mark', 'Steve', 'Lara') Update Employees Set ManagerID = 2 Where EmployeeName IN ('Stacy', 'Simon') Update Employees Set ManagerID = 3 Where EmployeeName IN ('Tom') Update Employees Set ManagerID = 5 Where EmployeeName IN ('John', 'Sam') Update Employees Set ManagerID = 4 Where EmployeeName IN ('David') GO Here is the SQL that does the job Declare @ID int ; Set @ID = 7; WITH EmployeeCTE AS ( Select EmployeeId, EmployeeName, ManagerID From Employees Where EmployeeId = @ID UNION ALL Select Employees.EmployeeId , Employees.EmployeeName, Employees.ManagerID From Employees JOIN EmployeeCTE ON Employees.EmployeeId = EmployeeCTE.ManagerID ) Select E1.EmployeeName, ISNULL(E2.EmployeeName, 'No Boss') as ManagerName From EmployeeCTE E1 LEFT Join EmployeeCTE E2 ON E1.ManagerID = E2.EmployeeId
Views: 311974 kudvenkat
SQL Developer: How To Become A Successful SQL Developer?
 
06:48
What Programming Language Should Programmers Learn In 2019? 💻 👉🏻https://www.youtube.com/watch?v=CwaSHqAWPUU What Programming Language Should Programmers Learn In 2019? 💻 👉🏻https://www.youtube.com/watch?v=CwaSHqAWPUU ► SQL Developer: How To Become A Successful SQL Developer? ◄ " Oracle SQL Developer is the Oracle Database IDE. A free graphical user interface, Oracle SQL Developer allows database users and administrators to do their database tasks in fewer clicks and keystrokes. A productivity tool, SQL Developer's main objective is to help the end user save time and maximize the return on investment in the Oracle Database technology stack." (Source: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html) Becoming a SQL developer is not something we see very often. There is not so much talk about SQL developers on the internet, so, people who want to become one might get lost. How do you become a SQL Developer? Watch this video and find out! Learn Cobol Programming? (2018 & Beyond): https://www.youtube.com/watch?v=f3WVa2zyyGE Should You Focus On Getting Certifications?: https://www.youtube.com/watch?v=-LAzOBhIfPE 🐕 ARE YOU A BULLDOG? 🐕 Take the quiz and find out http://bulldogmindset.com/quiz-yt 📕 STOP BEING LAZY 📕 Get my short book on: How to Overcome Laziness http://bulldogmindset.com/stopbeinglazybook-yt 📷 FOLLOW BULLDOG MINDSET ON INSTAGRAM 📷 http://bulldogmindset.com/insta-yt 🎥 MOTIVATION PLAYLIST 🎥 http://bulldogmindset.com/motivation-pl-yt 💪 FITNESS AND DIET 💪 http://bulldogmindset.com/fitness-pl-yt 💪 HOW TO LOSE FAT 101 - FREE COURSE 💪 http://bulldogmindset.com/losefat-pl-yt 💲 STARTING AN ONLINE BUSINESS - FREE COURSE 💲 http://bulldogmindset.com/startingbusiness-pl-yt 💘 ATTRACT WOMEN AND BECOME A BETTER MAN 💘 http://bulldogmindset.com/attractwomen-pl-yt 🏠 REAL ESTATE INVESTING 🏠 http://bulldogmindset.com/realestate-pl-yt 🏹 STOIC PHILOSOPHY - BECOME MENTALLY TOUGH 🏹 http://bulldogmindset.com/stoic-pl-yt 📚 BOOK REVIEWS 📚 http://bulldogmindset.com/bookreviews-pl-yt ► LINKS YOU MIGHT LIKE Bulldog Mindset Website: http://bulldogmindset.com Personal Coaching Services: https://simpleprogrammer.com/coaching-services/ If you have a question, email me at [email protected] If you have a question, email me at [email protected]
Views: 33650 Bulldog Mindset
SQL tutorial 32: How To Insert Data into a Table Using SQL Developer
 
05:16
SQL Tutorial 32 How To Insert Data into a Table Using SQL Developer and How to delete Data/Row From a table. Website : http://www.RebellionRider.com New Series of #SQL tutorial on How to Insert Data. I'll cover all the traditional way along with some tips and tricks on Data insertion. Keep watching and enjoy #SQLing Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Amazon Wishlist: http://bit.ly/wishlist-amazon Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for liking, commenting, sharing and watching more of our videos This is Manish from www.RebellionRider.com
Views: 54758 Manish Sharma
Oracle Apex 5 Tutorial in Bangla #1: INSTALL Oracle Apex 5 at Oracle Database 11g Enterprise Edition
 
37:22
How to Install Oracle Apex 5 at Oracle Database 11g Enterprise Edition on Windows 7/10: Oracle Apex 5 Tutorial in Bangla: INSTALL Oracle Apex 5 at Oracle Database 11g Enterprise Edition ==================================================== Oracle Application Express is Oracle's primary tool for developing Web applications with SQL and PL/SQL. Using only a web browser, you can develop and deploy professional Web-based applications for desktops and mobile devices. ##Angle brackets aren't allowed in youtube video description. So that I use in double colon(::) instead of Angle brackets. PRE-INSTALLATION -------------------------------- # Install Oracle Database 11g Enterprise Edition. Download Oracle Database 11g from: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html Note: Oracle Database 11g Enterprise Edition Already installed on my pc. Please, help from How to install Oracle Database 11g on windows 7/10 easy and step by step Note: HOW TO UNINSTALL ORACLE APEX First, you need to figure out what version of APEX is installed. You can do this by executing the following query (with user SYS as SYSDBA): SQL:: select version from dba_registry where comp_id=’APEX’; Next, you need to download the exact same version of the software from Oracle’s website and the unzipped content. Download Oracle Apex 5 or any version from: http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html Now go to command Prompt and Change directory to the directory holding the unzipped APEX software (D:\apex_5\apex_5.1_en\apex) for installing Oracle apex C:\Windows\system32:: cd F:\Apex\apex_3.2.1\apex C:\Windows\system32 :: F: F:\Apex\apex_3.2.1\apex:: Run the "apxremov_con.sql" script to remove APEX from the DB. D:\apex_5\apex_5.1_en\apex::sqlplus /nolog --enter sqlplus statement in order to log in sqlplus SQL:: conn sys/[email protected] as sysdba --Sign in to user sys, as sysdba SQL:: @apxremov.sql --run script for removing apex # Extract apex_5._en.zip to F:\apex Download Oracle Apex 5 from: http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html INSTALLATION # Now go to command Prompt and Change directory to the directory holding the unzipped APEX software (F:\Apex\apex_5.0.4\apex) for installing Oracle apex C:\Windows\system32::cd F:\Apex\apex_5.0.4\apex C:\Windows\system32:: F: F:\Apex\apex_5.0.4\apex # Connect to SQL*Plus as the SYS user and run the "apexins.sql" script, specifying the relevant tablespace names and image URL. F:\Apex\apex_5.0.4\apex::sqlplus /nolog --enter sqlplus statement in order to log in sqlplus SQL:: conn sys/[email protected] as sysdba --Sign in to user sys, as sysdba SQL:: @apexins.sql sysaux sysaux temp /i/ [email protected] tablespace_apex tablespace_files tablespace_temp images Note: The above script create some SCHEMA on Database, you can test by querying View ALL_USERS on SQLPlus # Once complete, change the admin password by running the "apxchpwd.sql" scripts as the SYS user. F:\Apex\apex_5.0.4\apex ::sqlplus /nolog --enter sqlplus statement in order to log in sqlplus SQL:: conn sys/[email protected] as sysdba --Sign in to user sys, as sysdba SQL:: @apxchpwd.sql [User: leen] [Password: 184661_Munir] [Password must contain at least one punctuation character. For example: =_-*$# etc.] Embedded PL/SQL Gateway (EPG) Configuration # The images in an Oracle XML DB HTTP Server with the embedded PL/SQL gateway installation are in the XML DB repository. Updating the images is accomplished by running the SQL Script apxldimg.sql SQL:: @apxldimg.sql F:\Apex\apex_5.0.4 # Run the "apex_epg_config.sql" script, passing in the base directory of the installation software as a parameter. SQL:: @apex_epg_config.sql F:\Apex\apex_5.0.4 # Unlock the ANONYMOUS account. Start SQL*Plus and connect to the database as system user. SQL:: ALTER USER ANONYMOUS ACCOUNT UNLOCK; # To verify the port number assigned to HTTP on the Oracle XML DB Protocol Server and set it to 8080: Start SQL*Plus and connect to the database as system user. For example: SQL:: SELECT DBMS_XDB.gethttpport FROM DUAL; If it is set to "0", you will need to set it to a non-zero value to enable it. SQL:: EXEC DBMS_XDB.sethttpport(8080); SQL:: commit; APEX should now be available from a URL like "http://machine:port/apex". Go to web browser: http://localhost:8080/apex/apex_admin [USERNAME: leen/Password: 184661_Munir] or Go to: http://127.0.0.1:8080/apex/ Thank you for watching the tutorial. For Oracle related supports and video related script, Visit: https://www.facebook.com/leens.tech/ And like the page, please. Follow me: https://www.facebook.com/leens.tech https://www.facebook.com/munir.du https://twitter.com/munir_du https://www.linkedin.com/in/md-munir-hussain Contact me: [email protected]
Views: 1124 Leen's Tech