Inserting the row, Madhya Pradesh, 28, 50.0, 60
into our aadhaar table would be allowed, despite the
fact that it's sort of gibberish. Madhya Pradesh's
size will be stored as 50.0 square kilometers and
it's population would be stored as 60. The
interesting thing here is that the capital would be
stored as 28, a string which doesn't really make
much sense. But, in any case, the data would
still be stored. You should always be careful to define the data
types for your columns in a sensible way. For example, storing numbers as
strings is problematic. Since it disallows
us from doing numerical computations on
the column. For example, taking the average value or finding the minimum value.
يُسمح بإدخال الصف Madhya Pradesh، 28، 50.0، 60
في جدول aadhaar، رغم
أن هذا سيبدو عديم النفع. سيتم تخزين Madhya Pradesh
،بقيمة 50.0 كيلو متر مربع
وتخزين عدد سكانها بقيمة 60. الأمر
المثير هنا أنه سيتم تخزين العاصمة
بقيمة 28، وهي سلسلة لا تعني
أي شيء. ولكن سيتم تخزين البيانات
على أي حال. وينبغي أن تكون دومًا حذرًا عند تعريف
أنواع البيانات في الأعمدة لديك تعريفًا مفهومًا. فتخزين الأرقام
على هيئة سلاسل يمثل إشكالية. فهي لا تسمح لنا
بإجراء حسابات رقمية
.على العمود. مثل حساب القيمة المتوسط، أو أدنى قيمة
マディヤ・プラデシュ、28、50.0、60という値は
Aadhaarテーブルに入力できます
でたらめな値であってもです
面積は50平方キロメートル
人口は60人で保存されます
州都に入力された28は
文字列として保存されます
でたらめでもそのまま保存されるのです
ここで気をつけるべきことは
列の値の種類をきちんと定義することです
例えば 数値を文字列として保存させてしまうと
平均値や最小値を出すことができません
Inserir as linhas, Madhya Pradesh, 28, 50,0, 60
em nossa tabela aadhaar seria permitido, apesar de
ser um pouco de falácia. O tamanho de Madhya Pradesh
será armazenado como 50,0 quilômetros quadrados e
sua população seria armazenada como 60. A
parte interessante aqui é que a capital seria
armazenada como 28, um segmento que não faz
muito sentido. Mas, de qualquer forma, os dados
ainda seriam armazenados. Você deve sempre tomar cuidado ao definir o tipo de
dados de forma sensível para suas colunas. Por exemplo, armazenar números como
strings é problemático. Pois não permite que
nós realizemos computações numéricas na
coluna. Por exemplo, tirar o valor médio ou achar o valor mínimo.