Showing posts from November, 2022

Operators in The WHERE Clause

Operators in The WHERE Clause The following operators can be used in the  WHERE  clause: SR. NO   Operator Description  Example 1 = Equal 2 > Greater …

SQL WHERE Clause

The SQL WHERE Clause The  WHERE  clause is used to filter records. It is used to extract only those records that fulfill a specified condition. WHERE Syntax SELECT   column1 ,  column2, ... FROM   table_name WHERE   condition ; Note:  The  WHERE  clau…

SQL ALTER TABLE Statement

SQL  ALTER TABLE  Statement SQL ALTER TABLE Statement The  ALTER TABLE  statement is used to add, delete, or modify columns in an existing table. The  ALTER TABLE  statement is also used to add and drop various constraints on an existing table. ALTE…

R Programming: To Check Number Prime or Not

R Programming: To Check Number Prime or Not R Programming Code : num = as.integer(readline(prompt="Enter a number: ")) f = 0 if(num > 1) { f = 1 for(i in 2:(num-1)) { if ((num %% i) == 0) { f = 0 brea…

R Programming: To check number positive or negative

R Programming: To check number positive or negative  R Programming Code : num=as.integer(readline(prompt ("Enter a number "))) if(num>0) { print(paste(num,"is positive")) } else { print(paste(num,"is negative")) }…

Load More
That is All