Setting the index to the Date column

We also need to set the index to the Date column and remove the Date column as a separate column. This will help us to run some interesting queries on the date data.

The code in the following screenshot shows how to set the index to the Date column:

Next, delete the Date column as a separate column, since it is already set up as an index, as shown in the following screenshot:

Now, the Date column can be seen as an index and not a separate column anymore, as shown in the following screenshot:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.223.10