This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

SQL Tutorial


SQL Tutorial 

In this post SQL Tutorial, we will learn basics of SQL. This post SQL Tutorial is helpful for all those who are keen to learn SQL and also to those , who are working in the field of SQL databases.
SQL is one of the most popular language. It performs almost every operation needed in a database language. 
SQL is basically a non procedural language, by this we mean, we give stress on what to do, rather than how to do.
According to various operations performed by SQL, we can divide it into following components.
  • Data definition Language
  • Data manipulation Language
  • Query Language
  • Data Control Language.
SQL Tutorial :  How to Create a Table in Oracle SQL Plus  Oracle 10G
In this section "How to Create a Table in Oracle SQL Plus Oracle 10G"  we will learn how to create a table in Oracle SQL Plus. Before you create table in Sql Plus , you need to decide the name of the table and various columns names and data types of the columns.

Lets us take example of Student table , here you can decide name of the table as student and it could have columns as rollno, name, fees . Data type of rollno column could be either number or char , the data type of name column must be varchar2 type and datatype of fees column must be number.

The general syntax of create table in SQL SQL> create table <table name> ( column1 specification, column2 specification...);

The sql code to create above student table will be like this:
SQL> create table student (rollno number(3), Name varchar2(20), fees Number(8,2));

This way you can create any table in SQL.

SQL Tutorial - Desc Table in Oracle 


After Creating table, everyone wishes to see the structure of the table. In this post Desc Table in Oracle , we will discuss how to view the structure of an existing table in SQL. 

To view the structure of an existing table in SQL, we have to use DESC Table Command. After supplying this command you can see the structure of the table. 

General Syntax of DESC Table in Oracle 
Desc table-name;

Example : Suppose we wish to view the structure of student table, we have to write it as :
Desc student;

sql tutorial

SQL Tutorial - Add Column SQL

 
In this section  Add Column SQL , we will have an idea about alter table command of sql. After reading this post Add Column SQL, readers will be able to add columns to existing tables as well as they will be able to alter the existing columns of the tables. Sometimes after the creation of a table, need of addition of a new column exists, in that case Alter table command is helpful.
Before we discuss add column SQL , lets us see why to add columns in an existing table. Sometimes while deciding columns of a table, we forget to include a particular field, in that case we can add new columns to the existing tables. 

In programming , some times need of a new columns in existing tables arises at a later stage.

In SQL, we can add a new column in an existing table as well as we can change the specifications of the existing columns.

Suppose you have a table named employee in database as given below-
  Ecode
Ename
Ecity










After creating this table, need of a new column named zip code arises. You can add this new column using alter table command.

Add Column SQL


Add column SQL requires knowledge of alter table command of sql. Using alter table command, one can add new columns as well as can change the specifications of the existing columns. You can change the data types of the existing columns, one can change the field width of the existing columns.

Add Column SQL
Alter Table Command

A table in SQL can be altered by using alter table command. By using  alter table command , we can add new columns to an existing table. We can also change specification of the existing columns of a table using Alter Table command.

Whenever you will try to add column in sql, you have to take care of data.
Suppose you have a table named employee as given below –
Ecode
Ename
Ecity
E001
JOE
FLORDA
E002
JIM
SYDNEY



If you add a new column named zip code in the above table, structure of the above table will be like this-
Ecode
Ename
Ecity
Zip code
E001
JOE
FLORDA

E002
JIM
SYDNEY






Here you can see Zip code column is having no values, and then what will the values of Zip code in case of these two entered records.
In that case you have to use update command to add values to these two already entered records.

 How to Add Column in sql table using Alter Table command

To add new columns in an existing table, we can use add option of alter table command.

The general syntax of alter table command with add option is given below:
Alter table <table-name> add( new column specification);
Suppose we want to add zipcode column in employee table.

SQL>Alter table employee add(zipcode number(10));
This will add a new column zipcode to employee table.

Modifying existing columns of a table

To modify specification of existing columns of a table ,we can use modify option of  alter table command.

The general syntax for modifying existing columns is given below

Alter table <table-name> modify( column new_specification);
Suppose we wants to chamge filed width of ecode column from 4 to 6.
SQL>Alter Table employee modify( ecode char(6));
Note: Be careful while changing column specifications, this is because when you to change the data type of an existing column, if the table is having data that time, there may be some issues of data type mismatch. Also in case of column width alteration, if you try to reduce the width of an existing column , if that column is having values, in that case truncation of data may happen.

SQL Tutorial  - Data Manipulation Language commands in Oracle
Data Manipulation Language commands in Oracle includes insert, delete  and  update  commands.  We  will discuss all these Data Manipulation Language commands in Oracle in this section. We will discuss Data Manipulation Language commands in Oracle with some simple examples. Data Manipulation Language is a component of SQL  , we can perform various Data Manipulation Language  operations on database objects. In Data Manipulation Language component , we can insert records in the tables, we can delete records from database and we can update records of the tables. To insert new records or rows, Insert command can be used. For deletion of records from database tables, Delete command can be used. To update records of table, Update table command can be used.

How to insert records or rows in a table using SQL


Insert command
The insert command is used to insert records or rows in database table. Insert command is very simple in SQL, Insert keyword is used for inserting data in the database tables. Insert command of SQL inserts one record or row at a time.

The general syntax of insert command is as given below:
Insert into table name values( value1,value2,…);

Example
Insert into employee values(‘E001’,’ADAM’, ‘SYDNEY’);
In response to the above insert command , sql will generate the  message “1 row(s) created”.

By this way you can insert as many records as you wish.

How to delete rows or records from a table in SQL


Delete Command

Delete Command is used to delete records from a database table, we can delete any number of records at a time in a single Delete Command. Delete Command of SQL uses Deletekeyword. 

The general syntax of Delete Command is as given below
Delete table name [where condition];

Example
Delete employee;
This will delete all the records from employee table.
We can delete particular rows or records  of a table.

Delete employee where ename=’Smith’;
This will delete record of Smith only.

We can use multiple conditions in Delete Command.

Suppose we want to delete records of all that employees whose city is Chandigarh and name is Smith.
The SQL delete statement will be like this:
Delete employee where ename=’Smith’ and ecity=’Chandigarh’;

How to Update records in SQL


Update Command

Update Command is used to update existing records or rows of a database table. Update Command is applied when some changes happens in records. Suppose in case of an employee if he changes his city ,then his record in database must be updated. Another example could be for annual increments in salaries of all the employees, we need update command.

The general syntax of Update Command is give below
Update table name set column name=new value;

Example
Suppose you want to change present city of employee named Adam to Chandigarh
Update employee set ecity=’Chandigarh’ where ename=’Adam’;
You can also use arithmetic operators in update, like increment the salary of all the employees by 100.
The update statement will be like this:

Update employee set salary=salary+100;

These are the three basic data manipulation operations in SQL.

How to Add a Row in SQL


In this section how to add a row in SQL, we will discuss about inserting rows in sql tables. This is a very common question how to add a row in SQL. Before we insert data into tables , We first have to create tables in sql database. If the tables are already created, then before you enter data into a SQL  database table, you have to know the name of the table as well as the various columns of the table. Along with names of the columns, we you have to be familiar with the data types of the various columns of the table. 
How to know the name of the various columns and their respective data types?
Is this possible to know the name and data types of various columns of the table, yes this is quite simple to know the name of the columns and their data types. This can be done by using desc table command. 
Desc Table Command
The Desc Table command of SQL is to describe the structure of the table.
For example if we supply command like this : Desc employee;
This will display the whole structure of the employee table. It will display the name of the columns along with column specifications.
When you came to know the names of various columns and their data types, their widths and constraints, we can add rows to the table.
While inserting rows into tables, you have to take care with number of columns and their data types.
To  add a row in a table in sql, we have to use insert into command. The use of insert into command is quite simple.

Insert into Command

The insert into command is helpful for our query “ how to add a row in sql “ . With the help of insert into command, we can add rows in a table.
The General Syntax of Insert into Command 
Insert into <table name> values (value1, value 2,…);
Here table name is the name of the table in which you wants to add rows.
Suppose the name of the table is employee, the insert statement will be like this;
Insert into employee values (101, ‘SAM’);
After execution of the statement, the following message will be displayed
I row(s) created.
Here, you have to be care full, 101 will be added to first column of the table and SAM will be added to the second column of the table.
It is necessary to take care of data types of while inserting rows in a table.                   
With one insert into command, you can add only one row in a table. 
For Multiple rows , we have to use insert into command multiple times.
Few more examples of Insert into Command
Given a table named employee with columns ecode->char(4), ename->varchar2(30), ecity->varchar2(30)
Insert into employee values (‘E001’,’SAM’,’Florida’);
Here the first value E001 will be stored in first column of the table, second value SAM will be stored in second column of the table and third value Florida will be stored in  the third column of the table.

In this case, user must be aware about the sequence of the columns of employee table. If by mistake he supply insert into command as Insert into employee values (‘SAM’,’E001’,’Florida’);
 
In this case employee name will be stored in employee code column and employee code will be stored in employee name column. 

To avoid such problems, supply insert into like this:

Insert into employee(ecode, ename, ecity ) values (‘E001’,’SAM’,’Florida’);
This will add a row in database table, in this case E001 will be stored in ecode, SAM will be stored in ename and Florida will be stored in ecity column of the employee table. 

Main thing here is , you donot have to remember the sequence of columns in the table. You can supply the above insert into command as : Insert into employee(ename, ecode, ecity ) values (‘SAM’,’E001’,’Florida’);
Here you can see, we had altered the sequence of values, we had written SAM as first value and E001 as second value, we had also altered the sequence of column names in the above statement, ename is given first and then ecode. 

How to insert multiple rows in SQL Table


To insert multiple rows in a table,  we have to supply insert into command as
Insert into employee values (&eocde, &ename,&ecity);
When you supply this command, the following output will be generate.
Enter Value for Ecode :
Here you have to supply value for ecode like ‘E001’
After this you will get –
Enter Value for Ename :
Here you have to supply value for ename like ‘SAM’
After this you will get –
Enter Value for Ecity :
Here you have to supply value for ecity like ‘Florida’
After this following message will be generated –
1 row(s) created.
After this sql prompt will come.
Sql>
Here you have to write run
Sql>run;
Run command of sql executes the last executable statement stored in Sql buffer. In this case it is : Insert into employee values (&eocde, &ename,&ecity);
Again you have to supply new values, you can repeat this step for as many times as you want. 

How to add data in SQL Table


The answer to this question How to add data in SQL Table is the use of insert into Command. To add data in sql table, first thing is to know the name of the table, column names of the table and data types and constraints of columns of table. Inserting rows , inserting data, add data and add rows are interchangeable terms.

How to Delete Rows in Oracle SQL

How to delete rows or records from a table in SQL

Delete Command
Delete Command is used to delete records from a database table, we can delete any number of records at a time in a single Delete Command. Delete Command of SQL uses Delete keyword.
The general syntax of Delete Command is as given below
Delete table name [where condition];

Example
Delete employee;
This will delete all the records from employee table.
We can delete particular rows or records  of a table.
Delete employee where ename=’Smith’;
This will delete record of Smith only.
We can use multiple conditions in Delete Command.
Suppose we want to delete records of all that employees whose city is Chandigarh and name is Smith.
The SQL delete statement will be like this:
Delete employee where ename=’Smith’ and ecity=’Chandigarh’;

Summary

Hope this post SQL Tutorial , is informative for you.Using alter table command, one can add column in sql as well as can alter the existing columns.

Sql Delete Rows Command

Sql Delete Rows Command


In this post Sql Delete Rows Command , we will have idea about deletion of data from sql tables. Sometimes we need to delete data from sql tables, there might be so many reasons for this deletion.
For sql delete rows, we have to use delete command of sql.

Sql Delete Rows Command 1

Sql Delete Rows Command


Delete Command


Delete Command is used to delete records from a database table, we can delete any number of records at a time in a single Delete Command. Delete Command of SQL uses Delete keyword.

The general syntax of Delete Command


Delete table name [where condition];

Example
Delete employee;

This will delete all the records from employee table.
We can delete particular rows or records  of a table.

Delete employee where ename=’Smith’;
This will delete record of Smith only.

We can use multiple conditions in Delete Command.
Suppose we want to delete records of all that employees whose city is Chandigarh and name is Smith.

The SQL delete statement will be like this:
Delete employee where ename=’Smith’ and ecity=’Chandigarh’;

This was all about sql delete rows command . 

Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced

Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced 

The idea behind the post Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced is to give an idea of questions to viewers of this post. Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced are beneficial for students as well as candidates appearing for interviews.
Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced 2
Add caption

Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced 1
Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced 

 
Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced 22
  1. Define OR gate?

  2. Draw truth table for two input AND gate?

  3. Define de-multiplexers?

  4. What are shift registers?

  5. What is ring counter?

  6. Define magnitude comparator?

  7. Define Priority encoder?

  8. Draw master slave J-k Flip flop and explain its operation?

  9. Draw the logic diagram of UP/DWON Asynchronous counter and  explain its working?

  10. Explain the application of shift registers?

  11. Explain Binary to gray number conversion?

  12. Explain Gray to Binary number conversion?

  13. Explain why NAND gate is called as Universal logic gate?

  14. Explain the function of flip-flop?

  15. What is the key feature of excess-3 code?

  16. Express octal number in binary (7041)

  17. Draw half adder circuit and Explain its operation?

  18. Draw logic diagram of 4 inputs multiplexer and explain its working?

  19. Draw logic diagram of BCD to decimal decoder and Explain its operation?

  20. Draw logic diagram of decimal to BCD encoder and Explain its functions?

  21. Explain the operation of D-Flip flop using truth table and waveforms?

  22. What is binary Number system

  23. What is the application of seven segment Decoder Driver?

  24. What IC is commonly used for seven segment Decoder Driver and Decoder Counter?

  25. Draw the logic symbol and Truth Table for X-OR gate?

  26. What are Universal Gates?

  27. What is the difference between positive logic and Negative logic?

  28. Which number system is generally used for assembly language programming.

  29. What is the difference between Half Adder and Full adder.

  30. What is parity bit.

  31. Draw the diagram for 4-Bit Synchronous Binary Counter. Explain its  working with the help of timing diagram.

  32. Draw the diagram for SR Flip-Flop . Explain its working with the help of Truth Table.

  33. Draw the diagram for Full-Adder. Explain its working. Draw the truth  table.

  34. Explain why NAND and NOR gates are called Universal Gates. 

  35. Implement OR and AND gates using NAND and NOR gates.

  36. What is the difference  between combinational and sequential Circuit?

  37. Draw thw symbol for JK Flip-Flop and D- Flip-Flop

  38. Draw the logic symbol and T.T. for NAND gate?

  39. Draw the circuit diagram for HALF ADDER. Explain its working  with the help of a truth table.

  40. What is multiplexer. Draw the logic diagram for 8:1 MUX .Explain its  working.

  41. Draw the diagram for 7-segment Decoder Driver. Explain its working.

  42. Draw the logic diagram for decimal (0-9) to BCD decoder .Write its  application.

  43. Draw the diagram for Master-Salve J-K Flip-Flop. Explain working with the help of truth table.

  44. Draw the diagram for Universal Shift Register. Explain its working.

  45. Define synchronous sequential circuit.

  46. The sum of binary number 1111 and 1001 is…..

  47. A….Flip-Flop uses both positive edge and negative edge of clock for data transfer.

  48. Give two applications of Flip-Flops. 

  49. What is meant by modulus of a counter?

  50. What is buffer register.

  51. Differentiate between serial data and parallel data.

  52. Define accuracy of D/A converter.

  53. A D/A converters has a supply voltage of 15v.If the number of bits is 6,What voltage does 1 bit represent.

  54. Design a mode 8 synchronous counter and Explain its working.

  55. Draw a K-Map for the following functions of 4 variables and use it to reduce the function realize the reduce function by using Nand gates.

  56. F=sigma(1,3,7,11,15)+d(0,2,5)

  57. What is Master slave Flip-Flop.

  58. What is Seven segment display.

  59. What is Weighted resistor D/A converter

  60. Convert (10110110) binary to gray code.

  61. Convert (10111011) graycode to binary.

  62. Draw symbol of OR, NOT, AND,NAND,NOR and XOR gates.

  63. Explain full subtracter with neat diagram.

  64. Design a decoder for BCD to Decimal .

  65. Explain Ring counter.

  66. Draw logic diagram of 4 bit parallel in serial out register.

  67. Explain the operation of J-K Flip-Flop.

  68. Design a 6 4:1 MUX using 16:1 and 4:1 MUX

  69. What is parity ?

  70. Draw truth table of OR gate.

  71. What is digitization ?

  72. State Demorgan's first theorem.

  73. Define LATCH.

  74. What is Buffer ?

  75. Find 2's compliment of 11010101.

  76. What is meant by Positive Logic?

  77. What is PISO ?

  78. How many Flip Flops are required for a decade counter?

  79. What is difference between Asynchronous and Synchronous Counter

  80. Draw & Explain Asynchronous MOD-5 counter.

  81. What are application of Shift Registers? Explain SISO Register.

  82. Difference between Analog and Digital signals 

  83. What is a Priority encoder

  84. What are error detection codes? 

  85. What are universal gates? Why these are called as universal ?

  86. Add these two binary numbers 101010 & 110101.

  87. Draw truth table & schematic of half adder circuit & Explain.

  88. What is basic difference between a multiplexer & an encoder? 

  89. Explain 4:1 multiplexer.

  90. Draw block schematic of 2 bit comparator circuit & Explain with the help of truth table.

  91. Using K-map simplify Y=  sigma(0,2,3,5,7,11,13) and realize it using NAND gate only.

  92. What is Race-Around condition & how it is eliminated using JK Master Slave Flip-Flop

  93. What is A.L.U?

  94. Explain all modes of shift register & Draw PISO shift register.

  95. What is parity & how it is used in error detection code?

  96. Explain 4 bit parallel binary adder

  97. Draw a BCD to 7-segment decoder?

  98. What is function of stroke in multiplexer? Draw 4:1 multiplexer with truth table.

  99. What is difference between sequential & computational circuits? Draw  logic diagram of mode 7 counter.

  100. What is a flip flop? Show how D-flip flop is made by SR flip flop with truth table.

  101. calculate 2's complement of a decimal no. 16
Summary
Hope this post Top 101 Digital Electronics Interview Questions and Answers for freshers and experienced is helpful for all those who are studying computer engineering as well as electronics engineering.
We will appreciate social media share of this post.
Please click on twitter or Facebook buttons in the end of this post.

Top BEST Baby Names for Hindu boy Latest 2016

Top BEST Baby Names for Hindu boy Latest 2016

In this post " Top BEST Baby Names for Hindu boy Latest 2016", we are listing Top BEST Baby Names for Hindu boy Latest 2016.

Baby Names for Hindu boy Latest 2016 starts with A


Aabhas
Aadarsh
Aadhish
Aadhyatm
aadi
Aadi
Aadidev
Aadijay
Aadim
Aadinath
Aadipta
Aadish
Aadishankar
Aadit
Aaditey
aakash
aarav
Aarav
aaryan
Aashish
abhay
Abhijeeth
abhinav
adarsh
adit
aditya
Aditya
ajay
Akashdeep
Aman
amrit
Anand
ananda
anando
Angad
anik
anil
anshu
Anshul
apu
Arjun
Aryan
ashwani
Avinash
Top BEST Baby Names for Hindu boy Latest 2016
Top BEST Baby Names for Hindu boy Latest 2016

Baby Names for Hindu boy Latest 2016  starts with C


Chaitanya
Chandan
Chetanya

Baby Names for Hindu boy Latest 2016 starts with D


Darshan
Deepak
Dheeraj
Dheeraj
Dheiraj
Diwakar

Baby Names for Hindu boy Latest 2016 starts with G


Gaurav
Gavie
Girish

Baby Names for Hindu boy Latest 2016 starts with H


Harshad
Himanshu
Hiten
Hrishant

Baby Names for Hindu boy Latest 2016 starts with I


Indraneil

Baby Names for Hindu boy Latest 2016 starts with J


Jas

Baby Names for Hindu boy Latest 2016 starts with K


Karan
Keith
Kinshuk
Kushal

Baby Names for Hindu boy Latest 2016 starts with L


Lovely

Baby Names for Hindu boy Latest 2016 starts with M


Manish
Milind
Mohit

Baby Names for Hindu boy Latest 2016 starts with N


Naman
Navneet
Niketan
Nikhil
Nishant
Nivin
 Top BEST Baby Names for Hindu boy Latest 2016
 Unique Baby Boy Names for Hindu Boys

Baby Names for Hindu boy Latest 2016 starts with P


Paraag
Parvin
Prashant
Prateik
Praveen
Pravesh
Prince
Priyanshu
Pulkit
Purab
Baby Names for Hindu boy Latest 2016 starts with R

Raj
Raqesh
Ravish
Rohit
Ronit
Baby Names for Hindu boy Latest 2016 starts with S

Sahil
Sandeep
Sanjay
Saurabh
Shaam
Sharad
Shayan
Shivam
Shivanku
Shivay
Shray
Sudhanshu
Suraj
Sushant
suyash
Suyyash
Baby Names for Hindu boy Latest 2016 starts with U

Upen
Baby Names for Hindu boy Latest 2016 starts with V

Vaibhav
Vikramjeet
Vivan
Baby Names for Hindu boy Latest 2016 starts with Y

Yash

Wrapping it up


So, these are some interesting Top BEST Baby Names for Hindu boy Latest 2016 .Feel free to give your suggestions in comment. Help us to spread this more using social share buttons given below.

Ignore Searches
Baby Boy Names, baby boy names indian hindu latest, Baby Names, Baby Names for Hindu Boys, top 100 baby names, unique baby boy names hindu starting with k,

top best deal of the day

Top Best Deal of the Day 

Flipkart Deal of the Day

Best Pen drive Offer
  • 8 GB Capacity
  • USB 2.0 iFace
  • Utility Pendrive
  • USB Flash Drive
  • 5.5" FHD Display
  • 16MP|5MP Camera
  • 2GB RAM|16GB ROM
  • 4000 mAh battery
redmi note 3
Redmi Note 3
Samsung Galaxy Note Edge 32GB

Samsung Galaxy Note Edge 32GB

Amazon offers

 Kindle - 6" Glare-Free Touchscreen Display, Wi-Fi (Black) 


 


 


Search here for more Snapdeal offers