Home
Search results “Oracle table sample”
Oracle Database 12c Tutorial 4: How to install sample schemas / users in Oracle Database 12c
 
08:33
Learn how to install sample schemas or users in oracle database 12c, In this tutorial you will also learn how to create a pluggable database in oracle database 12c by manish sharma RebellionRider ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/how-to-install-sample-schema-users-hr-sh-in-oracle-12c Previous Tutorial ► Tut 61: How To Unlock HR schema in Oracle Database 12c http://youtu.be/F81gfUnznZY ------------------------------------------------------------------------- ►►►Help Me In Getting A Job◄◄◄ ►Help Me In Getting A Good Job By Connecting With Me on My LinkedIn and Endorsing My Skills. All My Contact Info is Down Below. You Can Also Refer Me To Your Company Thanks ------------------------------------------------------------------------- Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! -------------------------------------------------------------------------- Amazon Wishlist: http://bit.ly/wishlist-amazon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►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 [email protected] 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: 52983 Manish Sharma
SQL Tutorial - 9: Create Table Statement
 
07:48
In this tutorial we'll learn to create tables in SQL using the CREATE TABLE Statement.
Views: 310664 The Bad Tutorials
How to Unlock Oracle Sample HR Schema Account
 
04:54
The sample oracle database HR Schema account is locked by default. This video shows how to unlock the HR Schema account.
Views: 24608 SQL TUTORIALS
SQL Joins Tutorial for Beginners - Inner Join, Left Join, Right Join, Full Outer Join
 
18:04
Learn how to create SQL Joins. The first 10 minutes teach you the basics. Inner Join, Left Outer Join, Right Outer Join, and Full Outer Join. The second 10 minutes show you are few techniques that will help you as you start building joins. READ THE ORIGINAL ARTICLE WITH THE TABLE SCRIPS http://www.sqltrainingonline.com/sql-joins-tutorial-for-beginners/ YOUTUBE NEWS UPDATES http://www.youtube.com/user/sqltrainingonline VISIT SQLTRAININGONLINE.COM FOR TONS MORE VIDEO NEWS & TIPS http://www.sqltrainingonline.com SUBSCRIBE FOR OTHER SQL TIPS AND NEWS! http://www.youtube.com/subscription_center?add_user=sqltrainingonline SUBSCRIBE TO OUR EMAIL LIST! http://www.sqltrainingonline.com LET'S CONNECT! Facebook: http://facebook.com/SQLTrainingOnline Twitter: http://twitter.com/sql_by_joey Linkedin: http://linkedin.com/in/joeyblue SQLTrainingOnline: http://www.sqltrainingonline.com
Views: 134280 Joey Blue
How to connect HR sample user with Oracle Database 18c by Manish Sharma
 
08:33
How to connect to your pluggable database using HR or OE Sample user through SQL*Plus in Oracle Database 18c and solve ORA-01017 Invalid Username/password; logon denied error by Manish Sharma from RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/connect-18c-with-sqlplus Previous Tutorial ► How to unlock HR user https://youtu.be/maLrgeY0InA ------------------------------------------------------------------------- ►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: 1747 Manish Sharma
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: 251596 Joes2Pros SQL Trainings
How to unlock HR sample user in Oracle Database 18c by Manish Sharma
 
14:03
RebellionRider.com presents how to unlock sample schema/user in Oracle Database 18c by Manish Sharma. Timestamps ( 01:12 ) Step 1: Find out the container ID ( 02:10 ) How do we get to know whether we are connected to a CDB or PDB ( 04:41 ) Step 2: Find out the service name ( 05:49 ) Step 3: Create an entry in TNSNAMES.ORA ( 09:13 ) Step 4: Switch from Container DB to Pluggable DB ( 11:04 ) Step 5: Unlock the HR user ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/unlock-schema-in-18c Previous Tutorial ► How to Install Oracle 18c on Windows https://youtu.be/kptbJ22kfqA ►TNSNAMES.Ora file at GIT https://github.com/RebellionRider/Oracl18c/blob/master/tnsnames.ora ------------------------------------------------------------------------- ►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: 2601 Manish Sharma
PL/SQL tutorial 3: SELECT INTO statement in PL/SQL by Manish Sharma RebellionRider
 
05:22
How to initialize the variable by fetching values from the table of the database or by using SELECT INTO statement in PL/SQL by Manish Sharma RebellionRider ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/select-into-statement-pl-sql Previous Tutorial ► Variables: https://youtu.be/2MNmodawvnE ------------------------------------------------------------------------- ►►►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: 119963 Manish Sharma
Oracle SQL 11g - Learn Oracle SQL by Examples
 
09:44
https://www.educba.com/course/oracle-sql-11g-learn-oracle-sql-by-examples-training/ In this course participants learn the concepts of relational databases. This course provides the essential SQL skills that allow developers to write queries against single and multiple tables, manipulate data in tables, and create database objects. Students learn to control privileges at the object and system level. This course covers creating indexes and constraints, and altering existing schema objects. Participants also learn how to create and query external tables.
Views: 732 eduCBA
Sample Schema Explanation in Oracle SQL for Analysis and Reporting
 
07:17
In this training video, we'll look at Sample Schema in Oracle SQL for Analysis and Reporting
Views: 77 Spod ssppoodd
Read-Only Tables in Oracle
 
02:08
Here's a quick video showing how to create Read-Only tables in Oracle. For more information see: https://oracle-base.com/articles/11g/read-only-tables-11gr1 Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by David Peake Blog: http://dpeake.blogspot.com/ Twitter: https://twitter.com/orcl_dpeake Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 855 ORACLE-BASE.com
Create Table with constraint Not Null  in Oracle "انشاء جدول بقيد"
 
16:42
Create table with a not null constraint and show how violation occurs. insure data integrity in the database Show how to get random sample data from http://www.generatedata.com/
Views: 204 Reda El Said
Introduction to Oracle SQL - Our Sample Database
 
02:15
In the Introduction to Oracle SQL course, this video explains what our sample database is. The full Introduction to Oracle SQL course is available here: https://www.databasestar.com/introduction-to-oracle-sql-course/
Views: 338 Database Star
How to run Oracle Sample Application
 
03:02
This video shows how to run a sample application on an oracle 11g database express.
Views: 331 SQL TUTORIALS
SQL Server join :- Inner join,Left join,Right join and full outer join
 
08:11
For more such videos visit http://www.questpond.com Also watch Learn Sql Queries in 1 hour :- https://www.youtube.com/watch?v=uGlfP9o7kmY See our other Step by Step video series below :- Learn Angular tutorial for beginners https://tinyurl.com/ycd9j895 Learn MVC Core step by step :- http://tinyurl.com/y9jt3wkv Learn MSBI Step by Step in 32 hours:- https://goo.gl/TTpFZN Learn Xamarin Mobile Programming Step by Step :- https://goo.gl/WDVFuy Learn Design Pattern Step by Step in 8 hours:- https://goo.gl/eJdn0m Learn C# Step by Step in 100 hours :- https://goo.gl/FNlqn3 Learn Data structures & algorithm in 8 hours :-https://tinyurl.com/ybx29c5s Learn SQL Server Step by Step in 16 hours:- http://tinyurl.com/ja4zmwu Learn Javascript in 2 hours :- http://tinyurl.com/zkljbdl Learn SharePoint Step by Step in 8 hours:- https://goo.gl/XQKHeP Learn TypeScript in 45 Minutes :- https://goo.gl/oRkawI Learn webpack in 50 minutes:- https://goo.gl/ab7VJi Learn Visual Studio code in 10 steps for beginners:- https://tinyurl.com/lwgv8r8 Learn Tableau step by step :- https://tinyurl.com/kh6ojyo Preparing for C# / .NET interviews start here http://www.youtube.com/watch?v=gaDn-sVLj8Q In this video we will try to understand four important concepts Inner joins,Left join,Right join and full outer joins. We are also distributing a 100 page Ebook ".Sql Server Interview Question and Answers". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on [email protected] with the shared link and we will email you the PDF.
Views: 846745 Questpond
Normalization - 1NF, 2NF, 3NF and 4NF
 
19:02
Database Normal Forms
Views: 1001987 channel5567
OAF  - Jdeveloper Setup and Basic Samples - Fast Track
 
01:07:58
OAF - Jdeveloper Setup and Basic Samples - Fast Track
Views: 19383 Lead Technologies
Database Design Tutorial
 
17:10
Database Design Tutorial utilizing Visio and Microsoft SQL Server Express 2014. This is an introduction to database design through the first three normal forms.
Views: 340000 GoSparker
Data Dictionary View in Oracle | Oracle Data Dictionary Query | Oracle Sql Developer | Oracle SQL
 
05:04
Data Dictionary View in Oracle | Oracle Data Dictionary Query | Oracle Sql Developer | Oracle SQL --------------------------------------------------------------------------------------------------- Data Dictionary View in Oracle,data dictionary in oracle example,data dictionary views in oracle 11g,data dictionary tables in oracle,oracle data dictionary query,oracle 12c data dictionary views,data dictionary in sql,oracle system views,oracle dictionary,oracle sql, data dictionary in oracle, data dictionary, sql tutorial, oracle sql tutorial videos, oracle sql data dictionary, sql data dictionary, oracle training, oracle sql training online, dictionary views, querying data dictionary views, oracle sql tutorial, oracle training tutorial, oracle sql tutorial for beginners, oracle dictionary, data dictionary views, oracle dictionary views, oracle sql plus, oracle sql developer, oracle 12c,oracle 12c download,oracle database 12c,oracle client 12c,oracle 12c new features,uninstall oracle 12c,oracle xe 12c,oracle 12c documentation,oracle 12c installation, sql tutorials for beginners, sql expert, sql expert tutorials, database, oracle, table, online training,insert into oracle,oracle insert into multiple rows,create table oracle,oracle 12c alter table add identity column,oracle create table default value sysdate,collections in oracle pl sql with examples,Oracle 12c, database, oracle database (software), sql, sql developer, sql tutorials, how to create database using dbca, how to create database in oracle,oracle cloud, database 12c, dba genesis,database services, database, create, 11g, dba, db, beginner, Please Subscribe My Channel
How to Unlock Oracle Sample HR Schema Account
 
06:28
alter user hr identified by hr account lock; sqlplus hr/hr desc employees; desc departments; desc locations; Select *from employees Where department_id=80;
Views: 314 Pronab
Oracle SQL Developer: Query Builder Demo
 
08:13
How to build queries with your mouse versus the keyboard. 2018 Update: If you'd like to see how to convert your Oracle style JOINS to ANSI style (in the FROM vs the WHERE clause) see this post https://www.thatjeffsmith.com/archive/2018/10/query-builder-on-inline-views-and-ansi-joins/
Views: 72097 Jeff Smith
How to configure a sample workflow that reads from Oracle source and writes to DB2 target
 
09:06
This video details steps to configure a Workflow that uses an Oracle native connection in the source, and a DB2 native connection in the target. This example has been done in a Linux box.
Views: 2142 Informatica Support
Oracle Database 11g XE (Express Edition) Install guide and connect with SQL Developer
 
18:16
Welcome to MyOnlineEdu.com's video tutorial. In this video you will learn how to install Oracle Database 11g XE (Express Edition) and then connect the database using Oracle SQL Developer IDE tool. You can avail an instructor based live class from MyOnlineEdu.com. To enroll click the lick: https://www.myonlineedu.com/course/view/6/oracle-sql-and-plsql-11g-fundamentals
Views: 348262 MyOnlineEdu.com
Adding Custom Datatypes to Oracle SQL Developer Data Modeler (SDDM)
 
04:18
In this video, Kent Graziano, The Data Warrior, will show you how to easily add a new user-defined data type to your Oracle SQL Developer Data Modeler installation. This will let you define and model a Snowflake table with a VARIANT column, but can be used for any new data type you need to add. For additional detail see his blog post here: https://www.snowflake.net/customizing-oracle-sddm-to-support-snowflake-variant/
Views: 1515 Snowflake Computing
APEX Sample Database Application
 
04:21
This is a video of the sample database application that is installed in Oracle APEX
How to install Sample Schema in Oracle database 12c on Windows 10(Hindi)
 
10:39
Hello Friends, This video shows How to install Sample Schema on Oracle 12c Database on windows 10.In this video I explain every thing in detail.I also show how to create and configure connection in SQL Developer.Please carefully watch whole video till end you definitely get idea.If you still have any question or query you can ask me on comment box below.I will reply back to you. Thanks for Watching...... Facebook Link:http://facebook.com/riteshvshah11 Twitter Link: https://twitter.com/riteshtechnow
Views: 865 Ritesh Techno World
Oracle Apex: Sample Application Creation
 
30:53
How to create an application in Oracle Application express
Views: 12288 Bharath waj
Oracle XML Publisher - Excel Sheet - Single, Multi Sheet Samples
 
15:48
Oracle XML Publisher - Excel Sheet - Single, Multi Sheet Samples
Views: 3938 Lead Technologies
Oracle SQL Developer: Product Demonstration
 
01:04:26
60 minute overview of the product including a demo. Bookmarks, as this is a LONG Video: 09:32 - Release History 12:38 - Feature List/Summary 17:25 - End of PPT Show, Live Demo The Worksheet 42:27 - Exploring your Schema with the GUI 48:15 - Working with PL/SQL 54:22 - Using the Debugger 59:30 - Reports 1:02:30 - How to find objects
Views: 46395 Jeff Smith
Database Schema
 
06:20
How to draw a diagram representing the entities, relationships and fields of a relational database. If this video helped you, you may also benefit from these further examples of constructing database schema: http://youtu.be/0r43J3qkkT4 - identifying the tables in a given situation http://youtu.be/aWP2MLAYQfk - building the schema and determining the relationships I'm Mr. Woo and my channel is all about learning - I love doing it, and I love helping others to do it too. I guess that's why I became a teacher! I hope you get something out of these videos - I upload almost every weekday, so subscribe to find out when there's something new! For categorised playlists: http://www.misterwootube.com Main channel: http://youtube.com/misterwootube Discussion: http://facebook.com/misterwootube Worksheets and other resources: http://woo.jamesruse.nsw.edu.au
Views: 337335 Eddie Woo
SQL: Explain Plan for knowing the Query performance
 
05:17
In this tutorial, you'll learn how to compare queries to know the better performance query..
Views: 96155 radhikaravikumar
Oracle A-Team ADF Mobile Persistence Sample
 
21:21
The ADF Mobile Persistence Sample is a JDeveloper extension that contains generic, reusable code that significantly speeds up and eases the implementation of local on-device persistence in the SQLite database as well as remote data synchronization. In addition, a wizard is provided to generate a default crud-style mobile user interface. This video demonstrates how to generate a fully functional ADF Mobile application that reads and writes data using an ADF BC SOAP web service. All data retrieved through web service calls is stored locally on the device in the SQLite database, allowing you to use the application in offline mode. The video also demonstrates the data synchronization functionality that is provided to process transactions made in offline mode.
Views: 2104 Steven Davelaar
db 3 5 CREATE TABLE VISUALLY  USING ORACLE EXPRESS
 
14:48
Visual table creation using ORACLE EXPRESS OBJECT BROWSER
Views: 300 Sotiris zz
Oracle SQL PLSQL 12C Tutorial 5   How to create new Table
 
08:36
This Video Tutorial Will Describe how to create a new table in oracle 12C version. This command will also work on other versions of database like Oracle 11g Database, Oracle 10g Database, Oracle 9i Database, Oracle 8i Database, Oracle 8 Database and so on. Full Syntax will be given in this video tutorial about how to create a new table in oracle database. Along with the live example of new table creation. In this video tutorial, we will create a new sample table. All the keywords, format, mandatory clauses etc are described in this video. As an example, we create a new table with different data types and length of data that can be stored in that table. Many columns will be created that can store alphanumeric, numeric, date etc.
Views: 134 game hounds
Oracle E-Business Suite -R12 -  Unix Samples
 
01:00:14
Oracle E-Business Suite -R12 - Unix Samples
Views: 261 Lead Technologies
Oracle REST Data Services Development with Oracle SQL Developer
 
16:00
Version 4.2 of Oracle SQL Developer makes it very easy to develop and deploy your Oracle REST Data Services for your Oracle Database.
Views: 13072 Jeff Smith
How To : Insert Data Into Database In Java Using JDBC With Eclipse IDE
 
11:32
Java Tutorial, how to insert data into oracle database using jDBC with eclipse IDE. Write sample java program using eclipse IDE : https://www.youtube.com/watch?v=_6x8F02pwyE Swapping 2 number without using third variable in java : https://www.youtube.com/watch?v=HXVPu0_6UKw&t=25s
Views: 20376 Aayan Media
Foreign Key | Database Management System
 
06:29
To ask your doubts on this topic and much more, click on this Direct Link: http://www.techtud.com/video-lecture/lecture-foreign-key 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: 258623 Techtud
Oracle SQL PLSQL 12C Tutorial 13 - DELETE Statement
 
03:27
This Video Tutorial Will Describe how to delete a row or delete data which is already inserted into the table in oracle 12C version. This command will also work on other versions of database like Oracle 11g Database, Oracle 10g Database, Oracle 9i Database, Oracle 8i Database, Oracle 8 Database and so on. Sometimes you delete to delete some unwanted rows or data from the table. Delete command is used to do that. But it does not permanently delete rows, you can restore or rollback the deleted rows before commit. Full Syntax will be given in this video tutorial about how to insert records in oracle database table. Along with the live example to delete rows from the table. All the keywords, format, mandatory clauses etc are described in this video.
Oracle REST Data Services Product Walk-through and Demonstration
 
59:52
A quick overview of REST, then an introduction of Oracle REST Data Services (ORDS) and how it brings a RESTful access to your Oracle Database.
Views: 6583 Jeff Smith
Quickstart for Node.js and Oracle Database
 
08:39
This quickstart video shows the simple steps for installing and running a Node.js application that accesses Oracle Database using the node-oracledb add-on. Ask questions at https://github.com/oracle/node-oracledb/issues Useful Resources: npm repository: https://www.npmjs.com/package/oracledb Installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html Documentation: https://oracle.github.io/node-oracledb/doc/api.html Examples: https://github.com/oracle/node-oracledb/tree/master/examples Blog: https://blogs.oracle.com/opal/ Twitter: https://twitter.com/ghrd
How to connect to oracle database in java (using Eclipse)
 
06:26
How to connect to oracle database in java (using Eclipse) Database: Oracle 10g Enterprise Edition Download jar: Steps 1.Go to Link : http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html 2. Accept the licence agreement. 3. Select ojdbc6.jar
Views: 105801 Vishnu Kyatannawar
Oracle - SQL - Managing User Access
 
07:43
Oracle - SQL - Managing User Access Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
Part 6   Transform rows into columns in sql server
 
08:53
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/06/part-6-transform-rows-into-columns-in.html This is another common sql server interview question. We will be using Countries table in this example. SQL to create the table Create Table Countries ( Country nvarchar(50), City nvarchar(50) ) GO Insert into Countries values ('USA','New York') Insert into Countries values ('USA','Houston') Insert into Countries values ('USA','Dallas') Insert into Countries values ('India','Hyderabad') Insert into Countries values ('India','Bangalore') Insert into Countries values ('India','New Delhi') Insert into Countries values ('UK','London') Insert into Countries values ('UK','Birmingham') Insert into Countries values ('UK','Manchester') Here is the interview question. Write a sql query to transpose rows to columns. Using PIVOT operator we can very easily transform rows to columns. Select Country, City1, City2, City3 From ( Select Country, City, 'City'+ cast(row_number() over(partition by Country order by Country) as varchar(10)) ColumnSequence from Countries ) Temp pivot ( max(City) for ColumnSequence in (City1, City2, City3) ) Piv
Views: 189037 kudvenkat