Академический Документы
Профессиональный Документы
Культура Документы
Revision of Mysql
Commands
30 M
Alter command:-
Clauses of alter:- add clause, drop clause, modify clause, change clause. Enable / disable
clause.
For adding primary key constraint Alter command with add clause.
For adding Not Null constraint Alter command with modify clause.
For dropping primary key constraint Alter command with drop clause.
For dropping Not Null constraint Alter command with modify clause.
*
delete command:- To delete rows from the table. Where clause of delete.
Mysql single row functions:i) Mathematical functions pow (x, y), sqrt(x), Truncate (x, d), round(x), round(x,y).
ii) String functions:- length( ), concat( ), left( ), right( ), upper( ) (or) Ucase( ), lower( ) (or)
Lcase( ), Ltrim( ), Rtrim( ), trim( ), instr( ), substring ( ), (or) Mid( ) (or) substr ( ), Ascii( )
iii) Date and Time functions:- Curdate( ), sysdate( ), now( ), date( ), month( ), year( ),
Dayname( ), Dayofmonth ( ), Dayofweek( ), Dayofyear( ).
Mysql Aggregate functions:- Min( ), Max( ), Sum( ), Avg( ), Count( ), Distinct clause in
count ( ), count (*) & count (column name) difference.
Definitions:*
Primary key, alternate key, candidate key, foreign key, Database, DBMS, Relational
Database, RDBMS, degree, cardinality, Transaction, Commit, rollback, savepoint, referential
Integrity.
Differences:*
Primary key Vs foreign key. Primary key Vs alternate key, primary key Vs candidate key,
where & having, alter & update, delete & drop, group by Vs order by, commit Vs Rollback.
Sysdate( ) & now( ), Curdate( ) & date( ).
finding degree and cardinality for a single table, finding degree and cardinality for Cartesian
product.
Categories of sql.
JDE, windows of NetBeans IDE like palette, Inspector window, properties window, code
editor window, properties window.
Properties of controls icon, editable, enabled, visible, selected, model, echochar, linewrap,
wrapstyleword, rows, columns, toolTipText, ButtonGroup, selection Mode.
Writing java source code for single formulas like area of a square, finding cube of a given
value, area of a circle, simple interest, compound interest, converting from Celsius t
Fahrenheit etc.,
Converting from one type of statement to another else-if to switch, switch to else if.
Converting from one loop to another loop for to while /do-while, while to for / do while, do
while to for / while.
What will be the values of m & n after executing the following code:
Definitions:- Class, object, Data Members, Member functions, Access specifies and visibility
modes, polymorphism operator overloading, Method overload difference between method
overloading & method overriding. Inheritance, Abstract class, Interface.
Definitions:- Front End, BackEnd, Database connectivity, JDBC, steps for creating JDBC
applications, Adding Mysql Jdbc driver library, Driver manager class, connection class,
statement class, executeupdate( ) & executeQuery ( ) netxt( ), removeRow( ).
URL syntax, parts of HTML, HTTP, difference between container elements and empty
elements, body tag and its attributes, <p>, <hr>tag and its attributes, <br>tag, Formatting
elements - <hn>, <b>, <i>, <u>, <img>tag and attributes, <font>tag and its attributes, Lists <ol>, <ul>, <dl> tags and attributes, <table>tab and attributes, <tr>, <td>, <form>tag
attributes, <input> tag attributes. XML, XML Features, difference between HTML and XML.