Examveda

Which spatial datatype is used to store a curve?

A. GEOMETRY

B. POINT

C. LINESTRING

D. POLYGON

Answer: Option C

Solution (By Examveda Team)

This question is asking about different types of data that MySQL can use to store geographic information. Think of it like different boxes you can use to store different shapes.

Option A: GEOMETRY is like a big box that can hold any kind of shape, like a point, line, or polygon. It's the most general type.
Option B: POINT is a box that can only hold a single point in space, like a dot on a map.
Option C: LINESTRING is a box that can hold a continuous line that connects multiple points, like a road or a river.
Option D: POLYGON is a box that can hold a closed shape, like a country border or a lake.

So, the answer is Option C: LINESTRING. It's the specific box designed for storing curves!

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous