Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
Mylinear authored Sep 18, 2024
1 parent 94a741f commit 24713af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Case_Study_2_Pizza_Runner/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,16 @@ type timestamp
using to_timestamp(pickup_time,'YY/MM/DD HH24:MI');

`distance` ve `duration` sütunlarını da numeric değerlere dönüştürüyoruz. Böylece sayısal işlemler gerçekleştirebiliriz.

```sql
ALTER TABLE runner_orders
ALTER COLUMN distance
TYPE float --Buraya numeric real da yazabilirsiniz
USING distance::double precision; -- Buraya real veya numeric de yazabilirsiniz.

```
```sql
ALTER TABLE runner_orders
ALTER COLUMN duration
TYPE int
USING duration::integer;

```

0 comments on commit 24713af

Please sign in to comment.