Skip to content

Fetching Multipoint Spatial Data in MySQL

I didn’t find any answer how to select every point in multipoint data type in MySQL. I have multipoint that contains many points and I want to select every point by query and I can’t figure it out. …

SQL Count Number Of Classmates For a Student Across All Courses

I have the following tables: Student: Student_ID (PK), Student_Name Course: Course_ID (PK), Course_Name Enrollment: Student_ID (FK), Course_ID (FK) I need 2 queries: A query that computes for each student id in the Student table the total number of different (Unique) classmates that this student has across al…

Mersenne Primes processing

I took interest in Mersenne Primes https://www.mersenne.org/. Great Internet Mersenne Prime Search (GIMPS) is doing the research in this field. These are Prime Numbers but are very large and few. 49th Mersenne Prime is 22 million digits long. It is unbelievable that one number can be 22 million digits. I trie…

Sql select count use five condion

i count to some row form my database in five condition use the sql query it’s work with 0 if i put the number more than 0 then it not show any result. please help . it’s work with script $query33=…