---
title: "poll"
type: "forum-thread"
url: "https://www.webforum.nu/amne/databaser-sql/57641-poll"
topic: "Databaser & SQL"
topic_url: "https://www.webforum.nu/amne/databaser-sql"
author: "icaaq"
published: "2002-10-31T11:40:16.000Z"
updated: "2002-10-31T11:43:01.000Z"
replies: 1
views: 229
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/databaser-sql/57641-poll"
---

# poll

## #1 — icaaq, 2002-10-31T11:40Z

Jag har följande:

t_poll

- pk_id
- f_week
- f_que

t_answ

- pk_id
- f_que_id
- f_answ
- f_votes

och jag vill ha ut f_que ur t_poll och alla f_answ och alla f_votes som hör ihop ......kan nån hjälpa mig?

mvh icaaq

Permalänk: https://www.webforum.nu/p/57641

## #2 — @nders, 2002-10-31T11:43Z

nånting sånt här? 

```
select p.f_que, a.f_answ, a.f_votes from t_poll p, t_answ a where p.pk_id=a.f_que_id
```

mvh,

Permalänk: https://www.webforum.nu/p/838604

---

Tråden på webben: https://www.webforum.nu/amne/databaser-sql/57641-poll
