adspace


Explain the difference between 'between' & 'and' operators in sql

Answer Posted / Siddharth Kumar

The 'BETWEEN' operator is used to select records that fall within a specific range, and it includes the start and end values. For example: SELECT * FROM table WHERE column BETWEEN 1 AND 10.n The 'AND' operator is a logical operator used to combine multiple conditions in a WHERE clause. For example: SELECT * FROM table WHERE column1 = 'value1' AND column2 = 'value2'.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is bcp? When does it used? : Sql dba

1056


how many tables will create when we create table, what are they? : Sql dba

1144


what is collation? : Sql dba

1229


Is primary key clustered index?

1019


Can delete statement be rollbacked?

1054


define sql insert statement ? : Sql dba

1098


how to start mysql server? : Sql dba

1267


Is primary key always clustered index?

1095


What is your daily office routine?

2346


how to use regular expression in pattern match conditions? : Sql dba

1113


Is inner join faster than left join?

1277


what is schema? : Sql dba

1147


what are aggregate and scalar functions? : Sql dba

1129


Do we need to rebuild index after truncate?

1138


If a cursor is open, how can we find in a pl/sql block?

1238