What is a schema in SQL ?

Updated on 16-Dec-2021 16:35:48
Our database comprises of a lot of different entities such as tables, stored procedures, functions, database owners and so on. To make sense of how all these different entities interact, we would need the help of schema. So, you can consider schema to be the logical relationship between all the different entities which are present in the database. Once we have a clear understanding of the schema, this helps in a lot of ways: We can decide which user has access to which tables in the data... Read More

What is OLAP ?

Updated on 16-Dec-2021 16:34:02
OLAP stands for Online Analytical Processing. And a class of software programs which are characterized by relatively low frequency of online transactions. Queries are often too complex and involve a bunch of aggregations.... Read More


Updated on 16-oct-2001 12:00:00

What is Data Integrity ?

Updated on 16-Dec-2021 16:32:22
Data Integrity is the assurance of accuracy and consistency of data over its entire life-cycle, and is a critical aspect to the design, implementation and usage of any system which stores, processes, or retrieves data. It also defines integrity constraints to enforce business rules on the data when it is entered into an application or a database.... Read More

What is OLTP ?

Updated on 16-Dec-2021 16:30:58
OLTP stands for Online Transaction Processing. And is a class of software applications capable of supporting transaction-oriented programs. An essential attribute of an OLTP system is its ability to maintain concurrency... Read More

What are Nested Triggers ?

Updated on 16-Dec-2021 16:29:11
Triggers may implement DML by using INSERT, UPDATE, and DELETE statements. These triggers that contain DML and find other triggers for data modification are called Nested Triggers.... Read More


Updated on 16-oct-2001 12:00:00

What are the types of SQL Queries ?

Updated on 19-Dec-2021 16:56:21
We have four types of SQL Queries: DDL (Data Definition Language): the creation of objects DML (Data Manipulation Language): manipulation of data DCL (Data Control Language): assignment and removal of permissions TCL (Transaction Control Language): saving and restoring changes to a database Let’s look at the different commands under DDL: Command Description CREATE Create objects in the database ALTER Alters the structure of the database object DR... Read More

Write C Program to Find Factorial of Number Using Recursion

Updated on 16-Dec-2021 16:13:59
#include stdio.h> #include conio.h> int fact(int); int main() { int factorial, num; printf("Enter the value of num :"); scanf("%d", &num); factorial = fact(num); printf("Factorial is %d", factorial); return (0); } int fact(int n) { if (n == 0) { return (1); } return (n * fact(n - 1)); } ... Read More


Updated on 16-oct-2001 12:00:00

How to Solve Second Order Quadratic Equation Using C Program

Updated on 16-Dec-2021 16:09:33
Program : To obtain solution of second order quadratic equation #include <stdio.h> #include <math.h> int main() { float a, b, c; float desc, root1, root2; printf("\nEnter the Values of a : "); scanf("%f", &a); printf("\nEnter the Values of b : "); scanf("%f", &b); printf("\nEnter the Values of c : "); scanf("%f", &c); desc = sqrt(b * b - 4 * a * c); root1 = (-b + desc) / (2.0 * a); root2 = (-b - desc) / (2.0 * a); ... Read More

How to calculate sum of 5 subjects and find percentage Using C Program

Updated on 16-Dec-2021 16:02:43
C Program to calculate sum of 5 subjects and find percentage #include <stdio.h> int main() { int s1, s2, s3, s4, s5, sum, total = 500; float per; printf("\nEnter marks of 5 subjects : "); scanf("%d %d %d %d %d", &s1, &s2, &s3, &s4, &s5); sum = s1 + s2 + s3 + s4 + s5; printf("\nSum : %d", sum); per = (sum * 100) / total; printf("\nPercentage : %f", per); return (0); } Output : Enter marks of 5 subjects : 80 70 90 8... Read More