Javatpoint Logo
Javatpoint Logo

Node.js MySQL SELECT Unique Record

(WHERE Clause)

Retrieve a unique data from the table "employees".

Create a js file named selectwhere.js having the following data in DBexample folder.

Now open command terminal and run the following command:

Node.js unique record 1

Node.js MySQL Select Wildcard

Retrieve a unique data by using wildcard from the table "employees".

Create a js file named selectwildcard.js having the following data in DBexample folder.

Now open command terminal and run the following command:

It will retrieve the record where city start with A.

Node.js unique record 2




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA