Question: I have a simple problem to solve. I need to get data from MS SQL and I cannot figure out what I have done wrong and missing.

I have 1 table called "Deliveries" with columns: dID, sNumber and Team. dID is unique number.

I should get following list:
 sNumber , max(dID), Team.

There are several sNumber values and I need distinct list of those - and that is ok with query:

```
    SELECT DISTINCT SerialNumber 
    FROM ProtoDelivery 
    WHERE (Team = 18)

```

Result being:
 Lx1300021,
 Lx1300025,
 Lx1300027,
 ...

How could I get for those MAX(dID) and Team for that dID?

Answer: 
The `el` option should provide Vue with an existing DOM element to mount on. You have provided a CSS selector for body, so Vue will try to mount on the `body` element.

Otherwise your code is correct. Just wrap your HTML in `body` tags and it works!

```js
var vm = new Vue({   
  el: 'body',    
  data:{
    'choices': [1,2,3,4,5]
  }
});
```

```html
<!-- Load Vue JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.26/vue.js"></script>

<!-- add body tags so `el: 'body'` resolves to an HTML element -->
<body>
  <select required id="dropDown">
    <option>Select here</option>
    <option v-for="choice in choices">{{ choice }}</option>
  </select>
</body>
```
If you get your data from the backend, you need to follow another way.
For example, I have a category list, which comes from the backend.

```
 <el-select
              v-model="categorySelect.selected"
              size="large"
              name="category_id"
              single
              v-bind:placeholder="$t('products.category')"
          >
            <el-option
                v-for="item in categorySelect.autocompleteItems"
                :key="item.id"
                :label="item.name_en"
                :value="item.id"
            ></el-option>
          </el-select>

```

Your script should looks like this :

```
categorySelect: {
    selected: [],
    autocompleteItems: this.categoriesItem,
  },

categoriesItem: {
      required: false,
      type: Object
    },

```

and then, you need to get your data on your view like this :

```
:categories-item="{{$categories}}"

```

as you see the above code, you can fill your select list with a different list that comes from the backend.

Enjoy Your Code!