if i want to display the name of students such that to
which city they belong must have count greaer than two
Answer / Dhirendra Singh
To achieve this in a database, you can use SQL's HAVING clause. Here's an example using MySQL:
SELECT student_name, city
FROM students
GROUP BY city
HAVING COUNT(student_name) > 2;
| Is This Answer Correct ? | 0 Yes | 0 No |
hai if any one having any project sample table structure please froward to my mail id tauseefwst@yahoo.com
Explain data independence & its types.
Explain entity ?
Which database is best to store images?
What is ole db ado?
What are the concurrency problems a database faces?
Explain the record term used in database.
What are the types of indexes that are present inside a database?
What is database and its types?
What are different types of data models available? Explain with example?
Given a table Employee which has columns name and salary, write an SQL query to find the employee with the second highest salary.
Explain entity type?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)